forked from MapComplete/MapComplete
Fix: fix inspector
This commit is contained in:
parent
d72e7b213b
commit
c367f8f190
4 changed files with 156 additions and 5 deletions
|
@ -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}
|
||||
|
|
|
@ -3,5 +3,5 @@ import InspectorGUI from "./InspectorGUI.svelte"
|
|||
const target = document.getElementById("main")
|
||||
target.innerHTML = ""
|
||||
new InspectorGUI({
|
||||
target,
|
||||
target
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue