🎨 (account card) update icon when public
This commit is contained in:
@@ -6,13 +6,11 @@
|
|||||||
>
|
>
|
||||||
<router-link
|
<router-link
|
||||||
:class="{ 'is-primary': !account.color, 'is-white': account.color }"
|
:class="{ 'is-primary': !account.color, 'is-white': account.color }"
|
||||||
:style="`color: ${findContrastColor(account.color)}`"
|
:style="`color: ${findContrastColor(account.color || '')}`"
|
||||||
:to="{ name: 'account', params: { id: account._id } }"
|
:to="{ name: 'account', params: { id: account._id } }"
|
||||||
>{{ account.name }}</router-link
|
>{{ account.name }}</router-link
|
||||||
>
|
>
|
||||||
<div v-if="account.isPublic">
|
<span v-if="account.isPublic"> <awe-icon icon="users" /> </span>
|
||||||
<awe-icon icon="users" />
|
|
||||||
</div>
|
|
||||||
<div class="numeric">
|
<div class="numeric">
|
||||||
{{ totalCost | moneypad(account.mainCurrency, false) }}
|
{{ totalCost | moneypad(account.mainCurrency, false) }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user