TSK-1406: Correct Configuration defaults (#3107)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2023-04-28 15:22:25 +07:00
committed by GitHub
parent 59d1e2eb37
commit 082bc85ff2
9 changed files with 50 additions and 44 deletions
@@ -50,7 +50,10 @@
<Label label={config.description} />
</div>
{/if}
{#if config.configurable}
<div class="flex-between flex-row-center">
{#if config.beta}
<Label label={setting.string.ConfigBeta} />
{/if}
<div class="flex-row-center flex-reverse flex-grow max-h-9">
<Button
label={config.enabled ?? true ? setting.string.ConfigDisable : setting.string.ConfigEnable}
@@ -58,7 +61,7 @@
on:click={() => change(config, !(config.enabled ?? true))}
/>
</div>
{/if}
</div>
</div>
{/if}
{/each}