#6940 - Fix CmrList Filter Panel #209

Merged
jsegarra merged 3 commits from 6940_hotFix_cmrFilterPanel into test 2024-03-08 07:38:14 +00:00
1 changed files with 19 additions and 3 deletions
Showing only changes of commit 02934037e7 - Show all commits

View File

@ -1,5 +1,5 @@
<script setup>
import { computed, ref, onMounted } from 'vue';
import { computed, ref } from 'vue';
import { useI18n } from 'vue-i18n';
import { Notify } from 'quasar';
import { useStateStore } from 'stores/useStateStore';
@ -89,10 +89,26 @@ function downloadPdfs() {
// prettier-ignore
return window.open(`${getApiUrl()}/api/Routes/downloadCmrsZip?ids=${cmrs.join(',')}&access_token=${token}`);
}
onMounted(()=>{if(!stateStore.isRightDrawerShown())stateStore.toggleRightDrawer()})
</script>
<template>
<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>
<div class="column items-center">
<div class="list">
<VnPaginate