1
0
Fork 0
mirror of synced 2024-10-01 01:28:51 +13:00

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 fbba1b94a8
commit 629d94ee5c
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>