[+] Add identifier and info in course.urlIndex

This commit is contained in:
Hykilpikonna
2019-12-21 13:21:37 -05:00
parent adb211c58a
commit 815258e8be
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -309,6 +309,6 @@ export default class Course
*/
get urlIndex(): Index
{
return {hash: this.urlHash, title: this.name}
return {hash: this.urlHash, title: this.name, identifier: 'course', info: {id: this.id}}
}
}
-1
View File
@@ -1,4 +1,3 @@
import Course from '@/logic/course';
import Navigation from '@/components/navigation/navigation';
import Constants from '@/constants';