Add staging source toggle
This commit is contained in:
parent
3d69570099
commit
2fffb3ef02
2 changed files with 13 additions and 1 deletions
|
@ -52,7 +52,8 @@
|
|||
"httpAuthUser": "WebUI Username",
|
||||
"httpAuthPass": "WebUI Password",
|
||||
"httpAuthText": "Only password-protects WebUI, not API-calls.",
|
||||
"currencies": "Currencies"
|
||||
"currencies": "Currencies",
|
||||
"stagingSource": "Use Staging datasource (for development)"
|
||||
},
|
||||
"control": {
|
||||
"systemInfo": "System info",
|
||||
|
|
|
@ -770,6 +770,17 @@
|
|||
label="{$_('section.settings.httpAuthEnabled')} ({$_('restartRequired')})"
|
||||
/>
|
||||
</Col>
|
||||
{#if 'stagingSource' in $settings}
|
||||
<Col md="6" xl="12" xxl="6">
|
||||
<Input
|
||||
id="stagingSource"
|
||||
bind:checked={$settings.stagingSource}
|
||||
type="switch"
|
||||
bsSize={$uiSettings.inputSize}
|
||||
label="{$_('section.settings.stagingSource')} ({$_('restartRequired')})"
|
||||
/>
|
||||
</Col>
|
||||
{/if}
|
||||
</Row>
|
||||
|
||||
<Row>
|
||||
|
|
Loading…
Reference in a new issue