diff --git a/src/renderer/components/ft-list-video/ft-list-video.js b/src/renderer/components/ft-list-video/ft-list-video.js index 579fd0647d8e0..fec272fbff3c2 100644 --- a/src/renderer/components/ft-list-video/ft-list-video.js +++ b/src/renderer/components/ft-list-video/ft-list-video.js @@ -482,17 +482,18 @@ export default defineComponent({ return this.isInQuickBookmarkPlaylist ? 'base favorite' : 'base' }, - watchPageLinkType() { - return this.externalPlayerIsDefaultViewingMode ? 'a' : 'router-link' - }, - - watchPageLinkTo() { - // For `router-link` attribute `to` + watchVideoRoute() { return { path: `/watch/${this.id}`, query: this.watchPageLinkQuery, } }, + + // For `router-link` attribute `to` + watchVideoRouterLink() { + return !this.externalPlayerIsDefaultViewingMode ? this.watchVideoRoute : {} + }, + watchPageLinkQuery() { const query = {} if (this.playlistIdFinal) { query.playlistId = this.playlistIdFinal } diff --git a/src/renderer/components/ft-list-video/ft-list-video.vue b/src/renderer/components/ft-list-video/ft-list-video.vue index a4a4adf6ab7c8..ad0f2fb37e288 100644 --- a/src/renderer/components/ft-list-video/ft-list-video.vue +++ b/src/renderer/components/ft-list-video/ft-list-video.vue @@ -11,13 +11,11 @@