keep data cached

This commit is contained in:
2025-04-07 20:08:59 +01:00
parent 5d042900ae
commit 609008afc7
2 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ defineProps({
<AppLayout>
<div class="flex h-full flex-1 flex-col gap-4 rounded-xl p-4">
<h2 class="text-3xl font-bold tracking-tight">{{ organisation.name }}</h2>
<Tabs default-value="dashboard" class="w-[400px]">
<Tabs default-value="dashboard" class="w-[400px]" :unmount-on-hide="false">
<TabsList>
<TabsTrigger value="dashboard"> Dashboard </TabsTrigger>
<TabsTrigger value="settings"> Settings </TabsTrigger>

View File

@@ -13,7 +13,7 @@ const props = defineProps({
});
const form = useForm({
provider: 'hetzner',
provider: null,
location: null,
server_type: null,
image: null,
@@ -83,7 +83,7 @@ function loadServerTypes() {
<RadioButton
v-for="provider in providers"
v-model="form.provider"
:value="provider.value"
:value="provider.id"
:disabled="provider.disabled"
name="server-provider"
>