From a7b27a98d239e1f398a9dde51754e74f6c1933d5 Mon Sep 17 00:00:00 2001 From: Preston Date: Wed, 13 Jan 2021 17:24:26 -0500 Subject: [PATCH] Hide Watched formatted when on history page --- src/renderer/components/ft-list-video/ft-list-video.js | 4 ++++ src/renderer/components/ft-list-video/ft-list-video.vue | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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 7285f57d..ecf8d5ac 100644 --- a/src/renderer/components/ft-list-video/ft-list-video.js +++ b/src/renderer/components/ft-list-video/ft-list-video.js @@ -161,6 +161,10 @@ export default Vue.extend({ }, hideVideoViews: function () { return this.$store.getters.getHideVideoViews + }, + + addWatchedStyle: function () { + return this.watched && !this.inHistory } }, mounted: function () { 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 554ba1f3..abf66448 100644 --- a/src/renderer/components/ft-list-video/ft-list-video.vue +++ b/src/renderer/components/ft-list-video/ft-list-video.vue @@ -5,7 +5,7 @@ list: (listType === 'list' || forceListType === 'list') && forceListType !== 'grid', grid: (listType === 'grid' || forceListType === 'list') && forceListType !== 'list', [appearance]: true, - watched: watched + watched: addWatchedStyle }" >
{{ $t("Video.Watched") }}