Browse Source

display share button only on index

pull/342/head
Guillaume Vincent 7 years ago
parent
commit
4e8a6be1e3
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/components/Menu.vue

+ 3
- 2
src/components/Menu.vue View File

@@ -24,10 +24,11 @@
<small><i class="fa fa-lg fa-check pl-3" aria-hidden="true"></i> saved</small> <small><i class="fa fa-lg fa-check pl-3" aria-hidden="true"></i> saved</small>
</span> </span>
<span v-on:click="saveOrUpdatePassword()" class="white-link" <span v-on:click="saveOrUpdatePassword()" class="white-link"
v-if="!saved && isAuthenticated && $store.state.route.path==='/' ">
v-if="!saved && isAuthenticated && $store.state.route.path==='/'">
<i class="fa fa-lg fa-save fa-clickable"></i> <i class="fa fa-lg fa-save fa-clickable"></i>
</span> </span>
<span class="white-link btn-copy pl-3" v-bind:data-clipboard-text="passwordURL">
<span class="white-link btn-copy pl-3" v-bind:data-clipboard-text="passwordURL"
v-if="$store.state.route.path==='/'">
<i class="fa fa-lg fa-share-alt fa-clickable"></i> <i class="fa fa-lg fa-share-alt fa-clickable"></i>
</span> </span>
<router-link class="white-link pl-3" :to="{ name: 'configureOptions'}"> <router-link class="white-link pl-3" :to="{ name: 'configureOptions'}">


Loading…
Cancel
Save