Introduced ProfileStore

Corrected All Links to DataStore
This commit is contained in:
2024-12-21 22:33:42 +01:00
parent 813944fc23
commit b465f4a75a
64 changed files with 508 additions and 959 deletions

View File

@@ -20,9 +20,6 @@ const id = ref(route.params.id ? route.params.id : null )
//Working
const mode = ref(route.params.mode || "show")
const itemInfo = ref({
description: {
html: ""
}
})
const tabItems = [
@@ -105,7 +102,7 @@ setupPage()
Erstellen
</UButton>
<UButton
@click="router.push(itemInfo.id ? `/plants/show/${itemInfo.value.id}` : `/plants/`)"
@click="router.push(itemInfo.id ? `/plants/show/${itemInfo.id}` : `/plants/`)"
color="red"
class="ml-2"
v-if="mode === 'edit' || mode === 'create'"
@@ -144,7 +141,7 @@ setupPage()
</tr>
</table>
</div>
<div v-if="itemInfo.description.html">
<div v-if="itemInfo.description">
<p>Notizen:</p>
<span v-html="itemInfo.description.html"></span>
</div>