diff --git a/src/client/app/common/views/components/media-banner.vue b/src/client/app/common/views/components/media-banner.vue
index 0693143f02..211dbf0208 100644
--- a/src/client/app/common/views/components/media-banner.vue
+++ b/src/client/app/common/views/components/media-banner.vue
@@ -32,11 +32,12 @@ export default Vue.extend({
media: {
type: Object,
required: true
- },
- hide: {
- type: Boolean,
- default: true
}
+ },
+ data() {
+ return {
+ hide: true
+ };
}
})
diff --git a/src/client/app/desktop/views/components/media-image.vue b/src/client/app/desktop/views/components/media-image.vue
index 3cff8cfc04..f9ab188ca5 100644
--- a/src/client/app/desktop/views/components/media-image.vue
+++ b/src/client/app/desktop/views/components/media-image.vue
@@ -27,12 +27,13 @@ export default Vue.extend({
},
raw: {
default: false
- },
- hide: {
- type: Boolean,
- default: true
}
},
+ data() {
+ return {
+ hide: true
+ };
+ },
computed: {
style(): any {
return {
diff --git a/src/client/app/desktop/views/components/media-video.vue b/src/client/app/desktop/views/components/media-video.vue
index d2752b0c95..1ff762abc2 100644
--- a/src/client/app/desktop/views/components/media-video.vue
+++ b/src/client/app/desktop/views/components/media-video.vue
@@ -36,12 +36,13 @@ export default Vue.extend({
},
inlinePlayable: {
default: false
- },
- hide: {
- type: Boolean,
- default: true
}
},
+ data() {
+ return {
+ hide: true
+ };
+ },
computed: {
imageStyle(): any {
return {
diff --git a/src/client/app/mobile/views/components/media-image.vue b/src/client/app/mobile/views/components/media-image.vue
index e38cef06ba..652a2ad3a4 100644
--- a/src/client/app/mobile/views/components/media-image.vue
+++ b/src/client/app/mobile/views/components/media-image.vue
@@ -19,12 +19,13 @@ export default Vue.extend({
},
raw: {
default: false
- },
- hide: {
- type: Boolean,
- default: true
}
},
+ data() {
+ return {
+ hide: true
+ };
+ }
computed: {
style(): any {
let url = `url(${this.image.thumbnailUrl})`;
diff --git a/src/client/app/mobile/views/components/media-video.vue b/src/client/app/mobile/views/components/media-video.vue
index aea7f41460..1e2c1ea7b0 100644
--- a/src/client/app/mobile/views/components/media-video.vue
+++ b/src/client/app/mobile/views/components/media-video.vue
@@ -15,25 +15,28 @@