feat(webui): scope cookies to the instance and show non-default instance names
This commit is contained in:
14 files changed
+89
-53
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user