0
0
Fork 0

Add toggle right drawer button

This commit is contained in:
William Buezas 2024-04-12 08:24:56 -03:00
parent 0006761201
commit c4a8127a5b
1 changed files with 17 additions and 0 deletions

View File

@ -489,6 +489,23 @@ onMounted(async () => {
</QBtnGroup> </QBtnGroup>
</div> </div>
</Teleport> </Teleport>
<template v-if="stateStore.isHeaderMounted()">
<Teleport to="#actions-append">
<div class="row q-gutter-x-sm">
<QBtn
flat
@click="stateStore.toggleRightDrawer()"
round
dense
icon="menu"
>
<QTooltip bottom anchor="bottom right">
{{ t('globals.collapseMenu') }}
</QTooltip>
</QBtn>
</div>
</Teleport>
</template>
<QDrawer v-model="stateStore.rightDrawer" side="right" :width="260" class="q-pa-md"> <QDrawer v-model="stateStore.rightDrawer" side="right" :width="260" class="q-pa-md">
<div class="q-pa-md q-mb-md" style="border: 2px solid black"> <div class="q-pa-md q-mb-md" style="border: 2px solid black">
<QCardSection horizontal> <QCardSection horizontal>