mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-06-04 07:09:54 +08:00
refactor: enable scroll-to-top button globally in browse page by removing path restriction
This commit is contained in:
@@ -34,7 +34,7 @@ function getApiPath(paths: string[] | string) {
|
||||
<VPageContentTitle :title="title" />
|
||||
<PersonCardListView v-if="type === 'person'" :apipath="getApiPath(props.paths || '')" :params="route.query" />
|
||||
<MediaCardListView v-else :apipath="getApiPath(props.paths || '')" :params="route.query" />
|
||||
<Teleport to="body" v-if="route.path === '/browse'">
|
||||
<Teleport to="body">
|
||||
<VScrollToTopBtn />
|
||||
</Teleport>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user