diff --git a/components/nav/NavSideItem.vue b/components/nav/NavSideItem.vue index 82cf59c3..aa9c9243 100644 --- a/components/nav/NavSideItem.vue +++ b/components/nav/NavSideItem.vue @@ -30,13 +30,11 @@ useCommand({ let activeClass = $ref('text-primary') onMastoInit(async () => { - if (!props.userOnly) { - // TODO: force NuxtLink to reevaluate, we now we are in this route though, so we should force it to active - // we don't have currentServer defined until later - activeClass = '' - await nextTick() - activeClass = 'text-primary' - } + // TODO: force NuxtLink to reevaluate, we now we are in this route though, so we should force it to active + // we don't have currentServer defined until later + activeClass = '' + await nextTick() + activeClass = 'text-primary' }) // Optimize rendering for the common case of being logged in, only show visual feedback for disabled user-only items