CLASSROOMIO-T-97: Better button style and fix route not found

This commit is contained in:
Rotimi Best
2023-08-05 05:48:32 +01:00
parent d542a4f7e3
commit 2cd8b7cf69
3 changed files with 11 additions and 12 deletions
+2 -2
View File
@@ -26,10 +26,10 @@
function getPathName(_isCoursePage) {
if (!_isCoursePage) {
return $currentOrgPath;
return $currentOrgPath ?? '/';
}
return `${$currentOrgPath}/courses`;
return $currentOrgPath ? `${$currentOrgPath}/courses` : '';
}
</script>