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" /> <Icon name="Add" />
</div> </div>
<Heading size="XS">Import app</Heading> <Heading size="XS">Import an app</Heading>
<p class="detail">BLANK</p> <p class="detail">BLANK</p>
</div> </div>
</div> </div>

View File

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