Ne uplne otestovany prepis storu

This commit is contained in:
Michal Kváček
2023-11-19 00:44:01 +01:00
parent e65491e00b
commit f9d70a5d57
76 changed files with 1445 additions and 1463 deletions
@@ -16,15 +16,16 @@ const handleSave = (formData) => {
router.push({name: "poi"});
})
}
const isRequestPending = storeToRefs(usePointsOfInterestStore()).isMutationRunning;
useAppStore().setPageTitle("Nové zajímavé místo");
useAppStore().setBreadcrumbs([
{to: "poi", label: "Zajímavá místa"},
{label: "Nové"},
])
const {isMutationRunning} = storeToRefs(usePointsOfInterestStore());
</script>
<template>
<POIForm @save="handleSave" :is-request-pending="isRequestPending"/>
<POIForm @save="handleSave" :is-request-pending="isMutationRunnin"/>
</template>