Fix video in media modal not displaying properly

This commit is contained in:
Tusooa Zhu 2021-09-08 21:50:28 -04:00
parent 22d8961c5e
commit 1128cc463c
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224

View file

@ -5,6 +5,7 @@
@backdropClicked="hide"
>
<SwipeClick
v-if="type === 'image'"
class="modal-image-container"
:direction="swipeDirection"
:threshold="swipeThreshold"
@ -23,7 +24,6 @@
:reset-to-min-scale-limit="pinchZoomScaleResetLimit"
>
<img
v-if="type === 'image'"
:class="{ loading }"
class="modal-image"
:src="currentMedia.url"