feat: add right arrow for drawer active menu items (#3631)
This commit is contained in:
parent
15ede13104
commit
d9a2a7bb95
2 changed files with 21 additions and 1 deletions
|
|
@ -47,6 +47,9 @@ include('components/lnbits-error.vue') %}
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-item-label lines="1" v-text="$t('settings')"></q-item-label>
|
<q-item-label lines="1" v-text="$t('settings')"></q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
<q-item-section side v-show="isActive('/admin')">
|
||||||
|
<q-icon name="chevron_right" color="grey-5" size="md"></q-icon>
|
||||||
|
</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
<q-item v-if="showNode" to="/node">
|
<q-item v-if="showNode" to="/node">
|
||||||
<q-item-section side>
|
<q-item-section side>
|
||||||
|
|
@ -59,6 +62,9 @@ include('components/lnbits-error.vue') %}
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-item-label lines="1" v-text="$t('node')"></q-item-label>
|
<q-item-label lines="1" v-text="$t('node')"></q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
<q-item-section side v-show="isActive('/node')">
|
||||||
|
<q-icon name="chevron_right" color="grey-5" size="md"></q-icon>
|
||||||
|
</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
<q-item v-if="showUsers" to="/users">
|
<q-item v-if="showUsers" to="/users">
|
||||||
<q-item-section side>
|
<q-item-section side>
|
||||||
|
|
@ -71,6 +77,9 @@ include('components/lnbits-error.vue') %}
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-item-label lines="1" v-text="$t('users')"></q-item-label>
|
<q-item-label lines="1" v-text="$t('users')"></q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
<q-item-section side v-show="isActive('/users')">
|
||||||
|
<q-icon name="chevron_right" color="grey-5" size="md"></q-icon>
|
||||||
|
</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
<q-item v-if="showAudit" to="/audit">
|
<q-item v-if="showAudit" to="/audit">
|
||||||
<q-item-section side>
|
<q-item-section side>
|
||||||
|
|
@ -83,6 +92,9 @@ include('components/lnbits-error.vue') %}
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-item-label lines="1" v-text="$t('api_watch')"></q-item-label>
|
<q-item-label lines="1" v-text="$t('api_watch')"></q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
<q-item-section side v-show="isActive('/audit')">
|
||||||
|
<q-icon name="chevron_right" color="grey-5" size="md"></q-icon>
|
||||||
|
</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
</div>
|
</div>
|
||||||
<q-item to="/payments">
|
<q-item to="/payments">
|
||||||
|
|
@ -96,6 +108,9 @@ include('components/lnbits-error.vue') %}
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-item-label lines="1" v-text="$t('payments')"></q-item-label>
|
<q-item-label lines="1" v-text="$t('payments')"></q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
<q-item-section side v-show="isActive('/payments')">
|
||||||
|
<q-icon name="chevron_right" color="grey-5" size="md"></q-icon>
|
||||||
|
</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
<q-item v-if="showExtensions" to="/extensions">
|
<q-item v-if="showExtensions" to="/extensions">
|
||||||
<q-item-section side>
|
<q-item-section side>
|
||||||
|
|
@ -108,6 +123,9 @@ include('components/lnbits-error.vue') %}
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
<q-item-label lines="1" v-text="$t('extensions')"></q-item-label>
|
<q-item-label lines="1" v-text="$t('extensions')"></q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
<q-item-section side v-show="isActive('/extensions')">
|
||||||
|
<q-icon name="chevron_right" color="grey-5" size="md"></q-icon>
|
||||||
|
</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
</q-list>
|
</q-list>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -119,7 +137,6 @@ include('components/lnbits-error.vue') %}
|
||||||
<q-item-label v-text="$t('created')"></q-item-label>
|
<q-item-label v-text="$t('created')"></q-item-label>
|
||||||
<q-item-label caption v-text="payment.date"></q-item-label>
|
<q-item-label caption v-text="payment.date"></q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
|
||||||
<q-item-section side top>
|
<q-item-section side top>
|
||||||
<q-item-label caption v-text="payment.dateFrom"></q-item-label>
|
<q-item-label caption v-text="payment.dateFrom"></q-item-label>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,9 @@
|
||||||
>
|
>
|
||||||
<q-icon name="group" :color="walletRec.extra.color" size="xs"></q-icon>
|
<q-icon name="group" :color="walletRec.extra.color" size="xs"></q-icon>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
<q-item-section side v-show="walletRec.id === activeWalletId">
|
||||||
|
<q-icon name="chevron_right" color="grey-5" size="md"></q-icon>
|
||||||
|
</q-item-section>
|
||||||
</q-item>
|
</q-item>
|
||||||
<q-item
|
<q-item
|
||||||
v-if="g.user.hiddenWalletsCount > 0"
|
v-if="g.user.hiddenWalletsCount > 0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue