Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/ScrollToTop.client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const route = useRoute()

// Pages where scroll-to-top should NOT be shown
const excludedRoutes = new Set(['index', 'code'])
const excludedRoutes = new Set(['index', 'docs', 'code'])
const isPackagePage = computed(() => route.name === 'package' || route.name === 'package-version')

const isActive = computed(() => !excludedRoutes.has(route.name as string) && !isPackagePage.value)
Expand Down
Loading