diff --git a/src/client/components/media-list.vue b/src/client/components/media-list.vue index 6ce7df276..fb8824c5b 100644 --- a/src/client/components/media-list.vue +++ b/src/client/components/media-list.vue @@ -50,6 +50,9 @@ export default Vue.extend({ beforeDestroy() { window.removeEventListener('resize', this.size); }, + activated() { + this.size(); + }, methods: { previewable(file) { return file.type.startsWith('video') || file.type.startsWith('image');