web/TransferSettings: don't offer export if there is nothing to export
This commit is contained in:
parent
96df9d55b8
commit
a6a0e91674
1 changed files with 2 additions and 0 deletions
|
@ -85,9 +85,11 @@
|
|||
<ActionButton id="import-settings" click={importSettings}>
|
||||
<IconFileImport /> import
|
||||
</ActionButton>
|
||||
{#if $storedSettings.schemaVersion}
|
||||
<ActionButton id="export-settings" click={exportSettings}>
|
||||
<IconFileExport /> export
|
||||
</ActionButton>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<style>
|
||||
|
|
Loading…
Reference in a new issue