mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-29 04:50:13 +02:00
web/TransferSettings: don't offer export if there is nothing to export
This commit is contained in:
parent
96df9d55b8
commit
a6a0e91674
@ -85,9 +85,11 @@
|
|||||||
<ActionButton id="import-settings" click={importSettings}>
|
<ActionButton id="import-settings" click={importSettings}>
|
||||||
<IconFileImport /> import
|
<IconFileImport /> import
|
||||||
</ActionButton>
|
</ActionButton>
|
||||||
|
{#if $storedSettings.schemaVersion}
|
||||||
<ActionButton id="export-settings" click={exportSettings}>
|
<ActionButton id="export-settings" click={exportSettings}>
|
||||||
<IconFileExport /> export
|
<IconFileExport /> export
|
||||||
</ActionButton>
|
</ActionButton>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user