Skip to content
Snippets Groups Projects
Unverified Commit 7dc789f4 authored by MeiMei's avatar MeiMei Committed by GitHub
Browse files

Fix: optional chaining (#6747)

parent 190d1bbf
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
<footer>
<span>{{ image.type }}</span>
<span>{{ bytes(image.size) }}</span>
<span v-if="image.properties?.width">{{ number(image.properties.width) }}px × {{ number(image.properties.height) }}px</span>
<span v-if="image.properties && image.properties.width">{{ number(image.properties.width) }}px × {{ number(image.properties.height) }}px</span>
</footer>
</div>
</MkModal>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment