feat: add deubg menu to users

This commit is contained in:
Xyphyn committed 2023-08-26 10:25:44 -07:00
1 parent 6516e99fe0
commit 8aa62b046e
4 files changed
+40 -8

No files matched your search

@@ -7,6 +7,6 @@
</script>
<Modal bind:open>
<span slot="title">Debug</span>
<span slot="title"><slot name="title">Debug</slot></span>
<DebugTree {object} isParent={true} />
</Modal>
@@ -12,13 +12,8 @@
{#if typeof object[key] === 'object'}
<svelte:self object={object[key]} isParent={false} />
{:else}
<pre>{object[key]}</pre>
<pre class="break-words">{object[key]}</pre>
{/if}
</details>
{/each}
</ul>
<style>
details {
}
</style>