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 () {
|
hideVideoViews: function () {
|
||||||
return this.$store.getters.getHideVideoViews
|
return this.$store.getters.getHideVideoViews
|
||||||
|
},
|
||||||
|
|
||||||
|
addWatchedStyle: function () {
|
||||||
|
return this.watched && !this.inHistory
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted: function () {
|
mounted: function () {
|
||||||
|
|
|
@ -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") }}
|
||||||
|
|
Loading…
Reference in New Issue