feat: add right arrow for drawer active menu items (#3631)

This commit is contained in:
dni ⚡ 2025-12-06 14:18:11 +01:00 committed by GitHub
parent 15ede13104
commit d9a2a7bb95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21 additions and 1 deletions

View file

@ -47,6 +47,9 @@ include('components/lnbits-error.vue') %}
<q-item-section>
<q-item-label lines="1" v-text="$t('settings')"></q-item-label>
</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 v-if="showNode" to="/node">
<q-item-section side>
@ -59,6 +62,9 @@ include('components/lnbits-error.vue') %}
<q-item-section>
<q-item-label lines="1" v-text="$t('node')"></q-item-label>
</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 v-if="showUsers" to="/users">
<q-item-section side>
@ -71,6 +77,9 @@ include('components/lnbits-error.vue') %}
<q-item-section>
<q-item-label lines="1" v-text="$t('users')"></q-item-label>
</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 v-if="showAudit" to="/audit">
<q-item-section side>
@ -83,6 +92,9 @@ include('components/lnbits-error.vue') %}
<q-item-section>
<q-item-label lines="1" v-text="$t('api_watch')"></q-item-label>
</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>
</div>
<q-item to="/payments">
@ -96,6 +108,9 @@ include('components/lnbits-error.vue') %}
<q-item-section>
<q-item-label lines="1" v-text="$t('payments')"></q-item-label>
</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 v-if="showExtensions" to="/extensions">
<q-item-section side>
@ -108,6 +123,9 @@ include('components/lnbits-error.vue') %}
<q-item-section>
<q-item-label lines="1" v-text="$t('extensions')"></q-item-label>
</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-list>
</template>
@ -119,7 +137,6 @@ include('components/lnbits-error.vue') %}
<q-item-label v-text="$t('created')"></q-item-label>
<q-item-label caption v-text="payment.date"></q-item-label>
</q-item-section>
<q-item-section side top>
<q-item-label caption v-text="payment.dateFrom"></q-item-label>
</q-item-section>

View file

@ -44,6 +44,9 @@
>
<q-icon name="group" :color="walletRec.extra.color" size="xs"></q-icon>
</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
v-if="g.user.hiddenWalletsCount > 0"