mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 08:13:11 +01:00
Create button only for logged in user
This commit is contained in:
parent
5ef450566c
commit
5494877822
@ -5,7 +5,7 @@
|
|||||||
<router-link :to="{ name: 'accounts' }" class="is-size-4 has-text-weight-light" v-if="isLoggedIn">2FAccount</router-link>
|
<router-link :to="{ name: 'accounts' }" class="is-size-4 has-text-weight-light" v-if="isLoggedIn">2FAccount</router-link>
|
||||||
</div>
|
</div>
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
<p class="level-item">
|
<p class="level-item" v-if="isLoggedIn">
|
||||||
<router-link :to="{ name: 'create' }" class="button is-black">
|
<router-link :to="{ name: 'create' }" class="button is-black">
|
||||||
<span class="icon has-text-grey-light">
|
<span class="icon has-text-grey-light">
|
||||||
<font-awesome-icon :icon="['fas', 'plus-circle']" />
|
<font-awesome-icon :icon="['fas', 'plus-circle']" />
|
||||||
|
Loading…
Reference in New Issue
Block a user