Browse Source

add save button if profile exists

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

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

@@ -20,11 +20,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==='/' && $store.state.password.site !== ''">
v-if="!saved && isAuthenticated && $store.state.password.site !== ''">
<i class="fa fa-lg fa-save pointer"></i> <i class="fa fa-lg fa-save pointer"></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==='/'">
v-if="$store.state.password.site !== ''">
<i class="fa fa-lg fa-share-alt pointer"></i> <i class="fa fa-lg fa-share-alt pointer"></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