fix: breadcrumb and sidebar not matching

This commit is contained in:
tdgao
2026-08-18 22:42:36 -06:00
parent 9cf119d65b
commit d1291ef9d7
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { HomeIcon, PlusIcon } from '@modrinth/assets'
import { PlayIcon, PlusIcon } from '@modrinth/assets'
import { defineMessages, injectNotificationManager, useVIntl } from '@modrinth/ui'
import dayjs from 'dayjs'
import { computed, inject, onActivated, ref } from 'vue'
@@ -43,7 +43,7 @@ const homeBreadcrumb = useRootBreadcrumb({
id: 'home',
label: formatMessage(messages.home),
to: '/',
visual: { type: 'icon', component: HomeIcon },
visual: { type: 'icon', component: PlayIcon },
})
onActivated(homeBreadcrumb.reset)
+1 -1
View File
@@ -16,7 +16,7 @@ const client = injectModrinthClient()
useRootBreadcrumb({
slot: 'root',
id: 'servers',
label: 'Servers',
label: 'Hosting',
to: '/hosting/manage/',
visual: { type: 'icon', component: ServerStackIcon },
})