mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
fix navmenu red indicator
This commit is contained in:
@@ -50,7 +50,11 @@
|
|||||||
v-if="entry.icon"
|
v-if="entry.icon"
|
||||||
:class="entry.icon"
|
:class="entry.icon"
|
||||||
class="inline-flex size-4 items-center justify-center text-base" />
|
class="inline-flex size-4 items-center justify-center text-base" />
|
||||||
<span>{{ t(entry.label) }}</span>
|
<span>{{ t(entry.label) }}</span
|
||||||
|
><span
|
||||||
|
v-if="isEntryNotified(entry)"
|
||||||
|
class="notify-dot left-6.25!"
|
||||||
|
aria-hidden="true"></span>
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
</DropdownMenuContent>
|
</DropdownMenuContent>
|
||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
@@ -94,7 +98,7 @@
|
|||||||
class="inline-flex size-5 items-center justify-center text-base" />
|
class="inline-flex size-5 items-center justify-center text-base" />
|
||||||
<span>{{ t(entry.label) }}</span>
|
<span>{{ t(entry.label) }}</span>
|
||||||
<span
|
<span
|
||||||
v-if="isNavItemNotified(item)"
|
v-if="isEntryNotified(entry)"
|
||||||
class="notify-dot left-0.5!"
|
class="notify-dot left-0.5!"
|
||||||
aria-hidden="true"></span>
|
aria-hidden="true"></span>
|
||||||
</SidebarMenuSubButton>
|
</SidebarMenuSubButton>
|
||||||
@@ -672,6 +676,9 @@
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const targets = [];
|
const targets = [];
|
||||||
|
if (entry.index) {
|
||||||
|
targets.push(entry.index);
|
||||||
|
}
|
||||||
if (entry.routeName) {
|
if (entry.routeName) {
|
||||||
targets.push(entry.routeName);
|
targets.push(entry.routeName);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user