fix: archived accounts are in read only mode
This commit is contained in:
@@ -137,6 +137,7 @@
|
|||||||
</transition-group>
|
</transition-group>
|
||||||
</div>
|
</div>
|
||||||
<fab-button
|
<fab-button
|
||||||
|
v-if="!account.archive"
|
||||||
:to="{ name: 'transaction-new', params: { id: account._id } }"
|
:to="{ name: 'transaction-new', params: { id: account._id } }"
|
||||||
:button-style="backgroundColor"
|
:button-style="backgroundColor"
|
||||||
:margin="true"
|
:margin="true"
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
<div v-else>
|
<div v-else>
|
||||||
<online-view @online="retrieveExchange" />Le taux d'échange n'a pas pu être récupéré.
|
<online-view @online="retrieveExchange" />Le taux d'échange n'a pas pu être récupéré.
|
||||||
</div>
|
</div>
|
||||||
<div class="buttons is-centered">
|
<div class="buttons is-centered" v-if="!account.archive">
|
||||||
<router-link
|
<router-link
|
||||||
v-if="canModify"
|
v-if="canModify"
|
||||||
tag="button"
|
tag="button"
|
||||||
|
|||||||
Reference in New Issue
Block a user