[+] Load demo
This commit is contained in:
@@ -12,6 +12,7 @@ import LoginUser from '@/logic/login-user';
|
|||||||
import NavController from '@/logic/nav-controller';
|
import NavController from '@/logic/nav-controller';
|
||||||
import Info from '@/statics/Info.vue';
|
import Info from '@/statics/Info.vue';
|
||||||
import CourseSelection from '@/pages/course-selection/course-selection.vue';
|
import CourseSelection from '@/pages/course-selection/course-selection.vue';
|
||||||
|
import AppDemo from '@/components/app/app-demo';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
components: {Login, Navigation, Overall, Loading, CoursePage, Info, CourseSelection},
|
components: {Login, Navigation, Overall, Loading, CoursePage, Info, CourseSelection},
|
||||||
@@ -85,6 +86,12 @@ export default class App extends Vue
|
|||||||
{
|
{
|
||||||
this.showRating = Constants.CURRENT_TERM == 3;
|
this.showRating = Constants.CURRENT_TERM == 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Demo
|
||||||
|
if (this.demoMode)
|
||||||
|
{
|
||||||
|
AppDemo.loadDemo(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user