1
0
mirror of https://github.com/TandoorRecipes/recipes.git synced 2026-01-11 09:07:12 -05:00

implemented some missing settings

This commit is contained in:
vabene1111
2025-06-06 15:42:39 +02:00
parent 23c4c2e543
commit ec0bc43c21
39 changed files with 115 additions and 24 deletions

View File

@@ -31,7 +31,7 @@
</div>
</div>
<template #append>
<template v-slot:[checkBtnSlot]>
<v-btn color="success" @click.native.stop="useShoppingStore().setEntriesCheckedState(entries, !isChecked, true);"
:class="{'btn-success': !isChecked, 'btn-warning': isChecked}" :icon="actionButtonIcon" variant="plain">
</v-btn>
@@ -66,6 +66,7 @@ const props = defineProps({
shoppingListFood: {type: {} as PropType<IShoppingListFood>, required: true},
hideInfoRow: {type: Boolean, default: false}
})
const checkBtnSlot = ref(useUserPreferenceStore().userSettings.leftHanded ? 'prepend' : 'append')
const dialog = ref(false)