File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,8 @@ function viewDocs(docs: string) {
165165 <div class =" flex items-center justify-between w-full gap-7" >
166166 <div class =" flex items-center gap-7" >
167167 <div class =" flex items-center gap-1" >
168- <div v-if =" script.registry" class =" flex items-center max-w-6 h-6" v-html =" script.registry.logo?.dark || script.registry.logo" />
168+ <img v-if =" script.registry.logo?.startsWith('http')" class =" flex items-center max-w-6 h-6" :src =" script.registry.logo?.dark || script.registry.logo" >
169+ <div v-else-if =" script.registry" class =" flex items-center max-w-6 h-6" v-html =" script.registry.logo?.dark || script.registry.logo" />
169170 <img v-else-if =" !script.src.startsWith('/')" :src =" `https://www.google.com/s2/favicons?domain=${urlToOrigin(script.src)}`" class =" w-4 h-4 rounded-lg" >
170171 <div >
171172 <a title =" View script source" class =" text-base hover:bg-gray-800/50 px-2 transition py-1 rounded-xl font-semibold flex gap-2 items-center" target =" _blank" :href =" script.src" >
You can’t perform that action at this time.
0 commit comments