Explorar o código

fix: collection not showing up

Ahmad Kholid %!s(int64=3) %!d(string=hai) anos
pai
achega
83786133bb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/newtab/shared/SharedCard.vue

+ 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"