Skip to content

Commit

Permalink
chore: broken devtools
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Aug 20, 2024
1 parent 3602040 commit b35eaba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ function viewDocs(docs: string) {
<div class="flex items-center justify-between w-full gap-7">
<div class="flex items-center gap-7">
<div class="flex items-center gap-1">
<div v-if="script.registry" class="flex items-center max-w-6 h-6" v-html="script.registry.logo" />
<div v-if="script.registry" class="flex items-center max-w-6 h-6" v-html="script.registry.logo?.dark || script.registry.logo" />
<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">
<div>
<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">
Expand All @@ -193,7 +193,7 @@ function viewDocs(docs: string) {
Status
</div>
<div class="capitalize">
{{ script.status.value }}
{{ script.$script.status.value }}
</div>
</div>
<div v-if="scriptSizes[script.src]">
Expand Down
4 changes: 2 additions & 2 deletions playground/pages/features/cookie-consent.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script lang="ts" setup>
import { ref } from 'vue'
import { useConsentScriptTrigger, useScriptGoogleTagManager } from '#imports'
import { useScriptTriggerConsent, useScriptGoogleTagManager } from '#imports'
const showCookieBanner = ref(true)
const scriptConsent = useConsentScriptTrigger()
const scriptConsent = useScriptTriggerConsent()
function acceptCookies() {
scriptConsent.accept()
showCookieBanner.value = false
Expand Down

0 comments on commit b35eaba

Please sign in to comment.