release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 52ae8fce29 - Show all commits

View File

@ -8,6 +8,7 @@
:filter-method="filter" :filter-method="filter"
dense dense
:pagination="pagination" :pagination="pagination"
:fullscreen="fullscreen"
> >
<template #top-right> <template #top-right>
<div class="row justify-end q-gutter-sm"> <div class="row justify-end q-gutter-sm">
@ -26,6 +27,11 @@
options-cover options-cover
/> />
<slot></slot> <slot></slot>
<q-btn
round
:icon="fullscreen ? 'mdi-fullscreen-exit' : 'mdi-fullscreen'"
@click="fullscreen = !fullscreen"
/>
</div> </div>
</template> </template>
<template #body-cell-tags="props"> <template #body-cell-tags="props">
@ -198,6 +204,8 @@ export default defineComponent({
rowsPerPage: 10, rowsPerPage: 10,
}); });
const fullscreen = ref(false);
return { return {
drinks: computed(() => store.pricelist), drinks: computed(() => store.pricelist),
columns, columns,
@ -206,6 +214,7 @@ export default defineComponent({
search, search,
filter, filter,
pagination, pagination,
fullscreen,
}; };
}, },
}); });