diff --git a/src/components/app/app.ts b/src/components/app/app.ts index 6f83533..922c4d7 100644 --- a/src/components/app/app.ts +++ b/src/components/app/app.ts @@ -12,6 +12,7 @@ import LoginUser from '@/logic/login-user'; import NavController from '@/logic/nav-controller'; import Info from '@/statics/Info.vue'; import CourseSelection from '@/pages/course-selection/course-selection.vue'; +import AppDemo from '@/components/app/app-demo'; @Component({ components: {Login, Navigation, Overall, Loading, CoursePage, Info, CourseSelection}, @@ -85,6 +86,12 @@ export default class App extends Vue { this.showRating = Constants.CURRENT_TERM == 3; } + + // Demo + if (this.demoMode) + { + AppDemo.loadDemo(this); + } } /**