Prechádzať zdrojové kódy

fix: collection not showing up

Ahmad Kholid 3 rokov pred
rodič
commit
83786133bb

+ 1 - 1
src/components/newtab/shared/SharedCard.vue

@@ -3,7 +3,7 @@
     <slot name="header">
       <div class="flex items-center mb-4">
         <ui-img
-          v-if="data.icon.startsWith('http')"
+          v-if="data.icon?.startsWith('http')"
           :src="data.icon"
           class="overflow-hidden rounded-lg"
           style="height: 40px; width: 40px"