Fix branding
This commit is contained in:
@@ -42,6 +42,8 @@ const isFeatureEnabledonAccount = useMapGetter(
|
||||
'accounts/isFeatureEnabledonAccount'
|
||||
);
|
||||
|
||||
const globalConfig = useMapGetter('globalConfig/get');
|
||||
|
||||
const showV4Routes = computed(() => {
|
||||
return isFeatureEnabledonAccount.value(
|
||||
currentAccountId.value,
|
||||
@@ -525,7 +527,12 @@ const menuItems = computed(() => {
|
||||
<section class="grid gap-2 mt-2 mb-4">
|
||||
<div class="flex items-center min-w-0 gap-2 px-2">
|
||||
<div class="grid flex-shrink-0 size-6 place-content-center">
|
||||
<Logo />
|
||||
<img
|
||||
v-if="globalConfig.logoThumbnail"
|
||||
:src="globalConfig.logoThumbnail"
|
||||
class="h-5 w-5"
|
||||
/>
|
||||
<Logo v-else />
|
||||
</div>
|
||||
<div class="flex-shrink-0 w-px h-3 bg-n-strong" />
|
||||
<SidebarAccountSwitcher
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@ onMounted(() => {
|
||||
slate
|
||||
faded
|
||||
:label="selectedTeamLabel"
|
||||
class="rounded-md group-hover:bg-n-alpha-2"
|
||||
class="capitalize rounded-md group-hover:bg-n-alpha-2"
|
||||
@click="toggleDropdown()"
|
||||
/>
|
||||
<DropdownMenu
|
||||
|
||||
Reference in New Issue
Block a user