diff --git a/src/components/navigation/navigation.ts b/src/components/navigation/navigation.ts index 861ad02..6678b27 100644 --- a/src/components/navigation/navigation.ts +++ b/src/components/navigation/navigation.ts @@ -27,4 +27,13 @@ export default class Navigation extends Vue // Call custom event this.$emit('navigation:select', this.activeIndex); } + + /** + * This function is called when the sign out button is clicked. + */ + public signOut() + { + // Call custom event + this.$emit('sign-out'); + } } diff --git a/src/pages/overall/overall.ts b/src/pages/overall/overall.ts index d147629..ca498e8 100644 --- a/src/pages/overall/overall.ts +++ b/src/pages/overall/overall.ts @@ -148,13 +148,4 @@ export default class Overall extends Vue return result; } - - /** - * This function is called when the sign out button is clicked. - */ - public signOut() - { - // Call custom event - this.$emit('sign-out'); - } }