Browse Source
Merge pull request #523 from bertyhell/bugfix/hide-dashboard-and-settings-when-not-logged-in
fix(layout): hide dashboard and settings buttons when not logged in
pull/521/head
Louis Lam
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/layouts/Layout.vue
|
|
@ -23,12 +23,12 @@ |
|
|
|
<font-awesome-icon icon="stream" /> {{ $t("Status Page") }} |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
<li class="nav-item me-2"> |
|
|
|
<li v-if="$root.loggedIn" class="nav-item me-2"> |
|
|
|
<router-link to="/dashboard" class="nav-link"> |
|
|
|
<font-awesome-icon icon="tachometer-alt" /> {{ $t("Dashboard") }} |
|
|
|
</router-link> |
|
|
|
</li> |
|
|
|
<li class="nav-item"> |
|
|
|
<li v-if="$root.loggedIn" class="nav-item"> |
|
|
|
<router-link to="/settings" class="nav-link"> |
|
|
|
<font-awesome-icon icon="cog" /> {{ $t("Settings") }} |
|
|
|
</router-link> |
|
|
|