Skip to content

Commit

Permalink
Merge pull request #1233 from bcgov/feature/home
Browse files Browse the repository at this point in the history
Small fix for home button
  • Loading branch information
mightycox authored Dec 1, 2023
2 parents 55d028d + 8caa989 commit e47f71b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
style="background-color: #003366; color: white"
>
<v-list-item
v-if="hasActiveInstitute()"
id="home_button"
style="min-height: 4vh"
:href="authRoutes.DASHBOARD"
Expand Down Expand Up @@ -103,6 +104,9 @@ export default {
}
},
methods: {
hasActiveInstitute(){
return !!this.userInfo?.activeInstituteIdentifier;
},
getName(){
return this.userInfo?.displayName;
},
Expand Down

0 comments on commit e47f71b

Please sign in to comment.