Forráskód Böngészése

fix image fullscreen modal dupplicate

axolotle 2 éve
szülő
commit
7ab8e11c62
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/components/nodes/NodeViewBody.vue

+ 1 - 1
src/components/nodes/NodeViewBody.vue

@@ -12,7 +12,7 @@
 
       <div class="node-view-body-wrapper" v-html="node.content" />
 
-      <fullscreen-modal v-if="image" :image="image" :id="'modal-image-' + node.id" />
+      <fullscreen-modal v-if="mode === 'view' && image" :image="image" :id="'modal-image-' + node.id" />
 
       <template v-if="mode === 'view'">
         <b-popover