We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1824c62 commit 0553727Copy full SHA for 0553727
app/components/ScrollToTop.client.vue
@@ -2,7 +2,7 @@
2
const route = useRoute()
3
4
// Pages where scroll-to-top should NOT be shown
5
-const excludedRoutes = new Set(['index', 'code'])
+const excludedRoutes = new Set(['index', 'docs', 'code'])
6
const isPackagePage = computed(() => route.name === 'package' || route.name === 'package-version')
7
8
const isActive = computed(() => !excludedRoutes.has(route.name as string) && !isPackagePage.value)
0 commit comments