diff --git a/src/lib/SideBars/DevTool.svelte b/src/lib/SideBars/DevTool.svelte index 1cb7a567..085dadcb 100644 --- a/src/lib/SideBars/DevTool.svelte +++ b/src/lib/SideBars/DevTool.svelte @@ -2,24 +2,33 @@ import { CurrentChat } from "src/ts/stores"; import TextInput from "../UI/GUI/TextInput.svelte"; import NumberInput from "../UI/GUI/NumberInput.svelte"; + import Button from "../UI/GUI/Button.svelte"; + import { getRequestLog } from "src/ts/storage/globalApi"; + import { alertMd } from "src/ts/alert"; + import Arcodion from "../UI/Arcodion.svelte"; -Variables -
- {#if $CurrentChat.scriptstate && Object.keys($CurrentChat.scriptstate).length > 0} - {#each Object.keys($CurrentChat.scriptstate) as key} - {key} - {#if typeof $CurrentChat.scriptstate[key] === "object"} -
Object
- {:else if typeof $CurrentChat.scriptstate[key] === "string"} - - {:else if typeof $CurrentChat.scriptstate[key] === "number"} - - {/if} - {/each} - {:else} -
No variables
- {/if} -
\ No newline at end of file + +
+ {#if $CurrentChat.scriptstate && Object.keys($CurrentChat.scriptstate).length > 0} + {#each Object.keys($CurrentChat.scriptstate) as key} + {key} + {#if typeof $CurrentChat.scriptstate[key] === "object"} +
Object
+ {:else if typeof $CurrentChat.scriptstate[key] === "string"} + + {:else if typeof $CurrentChat.scriptstate[key] === "number"} + + {/if} + {/each} + {:else} +
No variables
+ {/if} +
+
+ + \ No newline at end of file