소스 검색

fix: collection not showing up

Ahmad Kholid 3 년 전
부모
커밋
83786133bb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"