diff --git a/src/components/navigation/navigation.ts b/src/components/navigation/navigation.ts index 4836721..a9e5e11 100644 --- a/src/components/navigation/navigation.ts +++ b/src/components/navigation/navigation.ts @@ -2,6 +2,7 @@ import {Component, Prop, Vue} from 'vue-property-decorator'; import Constants from '@/constants'; import {Course} from '@/components/app/app'; import {CourseUtils} from '@/utils/course-utils'; +import {FormatUtils} from '@/utils/format-utils'; /** * This component is the top navigation bar @@ -76,6 +77,9 @@ export default class Navigation extends Vue // Call custom event this.$emit('update:activeIndex', newIndex); + // Update title + document.title = 'Veracross Analyzer - ' + this.getTitle(newIndex); + // Record or not if (history != null && !history) return;