Hide Watched formatted when on history page
This commit is contained in:
parent
835903a896
commit
a7b27a98d2
|
@ -161,6 +161,10 @@ export default Vue.extend({
|
|||
},
|
||||
hideVideoViews: function () {
|
||||
return this.$store.getters.getHideVideoViews
|
||||
},
|
||||
|
||||
addWatchedStyle: function () {
|
||||
return this.watched && !this.inHistory
|
||||
}
|
||||
},
|
||||
mounted: function () {
|
||||
|
|
|
@ -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") }}
|
||||
|
|
Loading…
Reference in New Issue