mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-30 18:24:03 +00:00
fix(layout): hide dashboard and settings buttons when not logged in
This commit is contained in:
parent
2aaed66b38
commit
843830a38a
1 changed files with 2 additions and 2 deletions
|
@ -23,12 +23,12 @@
|
||||||
<font-awesome-icon icon="stream" /> {{ $t("Status Page") }}
|
<font-awesome-icon icon="stream" /> {{ $t("Status Page") }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item me-2">
|
<li v-if="$root.loggedIn" class="nav-item me-2">
|
||||||
<router-link to="/dashboard" class="nav-link">
|
<router-link to="/dashboard" class="nav-link">
|
||||||
<font-awesome-icon icon="tachometer-alt" /> {{ $t("Dashboard") }}
|
<font-awesome-icon icon="tachometer-alt" /> {{ $t("Dashboard") }}
|
||||||
</router-link>
|
</router-link>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li v-if="$root.loggedIn" class="nav-item">
|
||||||
<router-link to="/settings" class="nav-link">
|
<router-link to="/settings" class="nav-link">
|
||||||
<font-awesome-icon icon="cog" /> {{ $t("Settings") }}
|
<font-awesome-icon icon="cog" /> {{ $t("Settings") }}
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
Loading…
Reference in a new issue