diff --git a/src/components/navigation/navigation.ts b/src/components/navigation/navigation.ts index 47a5297..3e04fa5 100644 --- a/src/components/navigation/navigation.ts +++ b/src/components/navigation/navigation.ts @@ -187,5 +187,22 @@ export default class Navigation extends Vue else return +this.gradingPeriod.replace('Term ', '') - 1; } + /** + * Avatar dropdown menu event + * + * @param cmd Command: sign-out + */ + onAvatarMenu(cmd: string) + { + switch (cmd) + { + case 'sign-out': + { + this.$emit('sign-out'); + break + } + } + } + get version() {return Constants.VERSION} }