mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
debug: include settings json on page
This commit is contained in:
parent
2cce4bd521
commit
f4aff44004
1 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { device, app } from "$lib/device";
|
||||
import { version } from "$lib/version";
|
||||
import settings from "$lib/settings";
|
||||
import settings, { storedSettings } from "$lib/settings";
|
||||
|
||||
import { goto } from "$app/navigation";
|
||||
import { defaultSettingsPage } from "$lib/settings/defaults";
|
||||
|
@ -33,6 +33,11 @@
|
|||
is.installed: {app.is.installed}
|
||||
</div>
|
||||
|
||||
<h3>settings:</h3>
|
||||
<div class="message-container subtext pre">
|
||||
{JSON.stringify($storedSettings, null, 2)}
|
||||
</div>
|
||||
|
||||
<h3>version:</h3>
|
||||
<div class="message-container subtext">
|
||||
version: {version.version}
|
||||
|
@ -59,4 +64,8 @@
|
|||
background: var(--button);
|
||||
padding: var(--padding);
|
||||
}
|
||||
|
||||
.pre {
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue