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>
@@ -34,7 +34,7 @@ defineProps({
</template>
<h3 class="text-2xl font-bold tracking-tight mt-4">Server Providers</h3>
<p class="text-sm text-muted-foreground">Manage your server providers.</p>
</WhenVisible>
</TabsContent>
</Tabs>