Skip to content

Commit

Permalink
18023 Update App.vue
Browse files Browse the repository at this point in the history
- changed "isRoleBasic" to "isAuthenticated" for breadcrumb
  • Loading branch information
severinbeauvais authored Oct 6, 2023
1 parent 7126066 commit 5ccd2d5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ export default class App extends Mixins(
@Getter getDisplayedComponent!: string
@Getter getIncorporateNowErrorStatus!: boolean
@Getter getNrId!: number
@Getter isAuthenticated!: boolean
@Getter isRoleStaff!: boolean
@Getter isMobile!: boolean
@Getter isRoleBasic!: boolean
// Global actions
@Action resetAnalyzeName!: ActionBindingIF
@Action setName!: ActionBindingIF
Expand Down Expand Up @@ -230,10 +230,9 @@ export default class App extends Mixins(
if (this.isRoleStaff) {
crumbs.unshift(getStaffDashboardBreadcrumb())
} else if (this.isRoleBasic) {
} else if (this.isAuthenticated) {
crumbs.unshift(getRegistryHomeBreadcrumb())
} else {
// If not logged in, set Registry Home Breadcrumb
crumbs.unshift(getRegistryDashboardBreadcrumb())
}
return crumbs
Expand Down

0 comments on commit 5ccd2d5

Please sign in to comment.