avoid api call with undefined
This commit is contained in:
1 parent
1c6809c66b
commit
3850e01d10
1 file changed
+1
-1
@@ -16,7 +16,7 @@ export default defineComponent({
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex" v-if="images.keys != null">
|
<div class="flex" v-if="images.keys !== null">
|
||||||
<Image v-for="[id, image] in images" :key="id" :id="id" />
|
<Image v-for="[id, image] in images" :key="id" :id="id" />
|
||||||
</div>
|
</div>
|
||||||
<h1 v-else>No image found</h1>
|
<h1 v-else>No image found</h1>
|
||||||
|
|||||||
Reference in new issue
Block a user