diff --git a/src/client/app/common/views/components/media-banner.vue b/src/client/app/common/views/components/media-banner.vue
index 0693143f0..211dbf020 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 3cff8cfc0..f9ab188ca 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 d2752b0c9..1ff762abc 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 e38cef06b..652a2ad3a 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 aea7f4146..1e2c1ea7b 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 @@