Fix: fix inspector

This commit is contained in:
Pieter Vander Vennet 2024-12-19 13:59:40 +01:00
parent d72e7b213b
commit c367f8f190
4 changed files with 156 additions and 5 deletions

View file

@ -57,6 +57,7 @@
<td>
<button class="as-link cursor-pointer" on:click={() => sort("visitedTime")}>
<Tr t={t.time} />
</button>
</td>
<td>
@ -95,6 +96,7 @@
<div slot="header">Labels</div>
{#if $labels.length === 0}
<Tr t={t.noLabels} />
{:else}
{#each $labels as label}
<div class="mx-2">
@ -112,6 +114,7 @@
}}
>
<Tr t={t.allChanges} />
</button>
</div>
{/each}

View file

@ -3,5 +3,5 @@ import InspectorGUI from "./InspectorGUI.svelte"
const target = document.getElementById("main")
target.innerHTML = ""
new InspectorGUI({
target,
target
})