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 () {
return this.$store.getters.getHideVideoViews
},
addWatchedStyle: function () {
return this.watched && !this.inHistory
}
},
mounted: function () {

View File

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