feat(webui): scope cookies to the instance and show non-default instance names

This commit is contained in:
sam committed 2026-10-19 10:17:05 +11:00
1 parent f72a3df413
commit fafa0426be
14 files changed
+89 -53

No files matched your search

+5
View File
@@ -1,6 +1,10 @@
<script setup lang="ts">
import Logo from "./Logo.vue";
import BrandName from "./BrandName.vue";
import { Badge } from "@/components/ui/badge";
import { useAccountsStore } from "@/accounts/accounts";
const accounts = useAccountsStore();
</script>
<template>
@@ -10,5 +14,6 @@ import BrandName from "./BrandName.vue";
>
<Logo />
<BrandName class="hidden sm:inline" />
<Badge v-if="accounts.instance" variant="info">{{ accounts.instance }}</Badge>
</RouterLink>
</template>