mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
fix sidebar not showing on user pages (#7097)
* fix sidebar not showing on user pages * prepr
This commit is contained in:
@@ -202,7 +202,10 @@ watch(
|
||||
},
|
||||
)
|
||||
const forceSidebar = computed(
|
||||
() => route.path.startsWith('/browse') || route.path.startsWith('/project'),
|
||||
() =>
|
||||
route.path.startsWith('/browse') ||
|
||||
route.path.startsWith('/project') ||
|
||||
route.path.startsWith('/user'),
|
||||
)
|
||||
const sidebarVisible = computed(() => sidebarToggled.value || forceSidebar.value)
|
||||
const hostingRouteActive = computed(() => route.path.startsWith('/hosting'))
|
||||
|
||||
Reference in New Issue
Block a user