[O] Parse & in course names
This commit is contained in:
@@ -10,6 +10,7 @@ import {CourseUtils} from '@/utils/course-utils';
|
|||||||
import {GPAUtils} from '@/utils/gpa-utils';
|
import {GPAUtils} from '@/utils/gpa-utils';
|
||||||
import Loading from '@/components/loading/loading.vue';
|
import Loading from '@/components/loading/loading.vue';
|
||||||
import CoursePage from '@/pages/course/course-page.vue';
|
import CoursePage from '@/pages/course/course-page.vue';
|
||||||
|
import {FormatUtils} from '@/utils/format-utils';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -146,6 +147,9 @@ export default class App extends Vue
|
|||||||
// Save courses
|
// Save courses
|
||||||
this.courses = response.data;
|
this.courses = response.data;
|
||||||
|
|
||||||
|
// Post processing
|
||||||
|
this.courses.forEach(course => course.name = FormatUtils.parseText(course.name));
|
||||||
|
|
||||||
// Load assignments
|
// Load assignments
|
||||||
this.loadAssignments();
|
this.loadAssignments();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user