mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +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" />
|
<VPageContentTitle :title="title" />
|
||||||
<PersonCardListView v-if="type === 'person'" :apipath="getApiPath(props.paths || '')" :params="route.query" />
|
<PersonCardListView v-if="type === 'person'" :apipath="getApiPath(props.paths || '')" :params="route.query" />
|
||||||
<MediaCardListView v-else :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 />
|
<VScrollToTopBtn />
|
||||||
</Teleport>
|
</Teleport>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user