Adding back old import button incase its removal confuses anyone.

This commit is contained in:
mike12345567 2021-10-19 14:26:44 +01:00
parent a054cfdb4d
commit 1e35d507c6
2 changed files with 8 additions and 1 deletions

View File

@ -57,7 +57,7 @@
>
<Icon name="Add" />
</div>
<Heading size="XS">Import app</Heading>
<Heading size="XS">Import an app</Heading>
<p class="detail">BLANK</p>
</div>
</div>

View File

@ -84,6 +84,12 @@
}
}
const initiateAppImport = () => {
template = { fromFile: true }
creationModal.show()
creatingApp = true
}
const stopAppCreation = () => {
template = null
creatingApp = false
@ -201,6 +207,7 @@
{#if cloud}
<Button secondary on:click={initiateAppsExport}>Export apps</Button>
{/if}
<Button secondary on:click={initiateAppImport}>Import app</Button>
<Button cta on:click={initiateAppCreation}>Create app</Button>
</ButtonGroup>
</div>