PAMapp/components/NavBar.vue
@@ -90,8 +90,8 @@ login_role = Role.NOT_LOGIN; isOpenDropdown = false; get loginRole(): string { return this.idToken && this.currentRole ? this.currentRole : Role.NOT_LOGIN; get loginRole(): Role { return this.idToken && this.currentRole ? (this.currentRole as Role): Role.NOT_LOGIN; } routerNavigateTo(url: string): void {