Hide Watched formatted when on history page

This commit is contained in:
Preston 2021-01-13 17:24:26 -05:00
parent 835903a896
commit a7b27a98d2
2 changed files with 6 additions and 2 deletions

View File

@ -161,6 +161,10 @@ export default Vue.extend({
}, },
hideVideoViews: function () { hideVideoViews: function () {
return this.$store.getters.getHideVideoViews return this.$store.getters.getHideVideoViews
},
addWatchedStyle: function () {
return this.watched && !this.inHistory
} }
}, },
mounted: function () { mounted: function () {

View File

@ -5,7 +5,7 @@
list: (listType === 'list' || forceListType === 'list') && forceListType !== 'grid', list: (listType === 'list' || forceListType === 'list') && forceListType !== 'grid',
grid: (listType === 'grid' || forceListType === 'list') && forceListType !== 'list', grid: (listType === 'grid' || forceListType === 'list') && forceListType !== 'list',
[appearance]: true, [appearance]: true,
watched: watched watched: addWatchedStyle
}" }"
> >
<div <div
@ -41,7 +41,7 @@
@click="toggleSave(id)" @click="toggleSave(id)"
/> />
<div <div
v-if="watched" v-if="addWatchedStyle"
class="videoWatched" class="videoWatched"
> >
{{ $t("Video.Watched") }} {{ $t("Video.Watched") }}