Skip to content

A self-hosted media server and file management system

fix: dashboard sidebar buttons don't a ct as valid links

aminnausin285d8b06a980
diff --git a/resources/js/views/DashboardView.vue b/resources/js/views/DashboardView.vue
index 6709151f..c72d4b8b 100644
--- a/resources/js/views/DashboardView.vue
+++ b/resources/js/views/DashboardView.vue
@@ -120,7 +120,7 @@ watch(
<DashboardSidebarCard
v-for="(tab, index) in dashboardTabs.filter((tab) => !tab.disabled)"
:key="index"
- :link="tab.disabled ? '' : `/dashboard/${tab.name}`"
+ :to="tab.disabled ? '' : `/dashboard/${tab.name}`"
:class="cn({ 'hover:ring-primary/90 ring-2': dashboardTab?.name === tab.name })"
@click="dashboardTab = tab"
:aria-disabled="tab.disabled"