add: reactive store
Add useLocalStorage from VueUse
This commit is contained in:
parent
27f051cf14
commit
9498911e7a
4 changed files with 81 additions and 98 deletions
|
@ -83,7 +83,6 @@ const { currentCardIndex, currentCard } = defineProps<Props>()
|
|||
const emit = defineEmits(['update'])
|
||||
|
||||
const dialog = useTemplateRef<HTMLDialogElement>('dialog')
|
||||
const cardLabel = computed(() => currentCardIndex > -1 ? 'Bearbeiten' : 'Hinzufügen')
|
||||
|
||||
const checkPrice = () => {
|
||||
if (!currentCard) { return false }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue