hotfix/prevent-app-creation-failing

This commit is contained in:
Martin McKeaveney 2021-02-12 11:08:36 +00:00
parent a80c0dd02d
commit 6b624f605f
1 changed files with 6 additions and 1 deletions

View File

@ -48,6 +48,11 @@
modal.show() modal.show()
} }
function closeModal() {
template = null
modal.hide()
}
checkIfKeysAndApps() checkIfKeysAndApps()
</script> </script>
@ -73,7 +78,7 @@
<AppList /> <AppList />
</div> </div>
<Modal bind:this={modal} padding={false} width="600px"> <Modal bind:this={modal} padding={false} width="600px" on:hide={closeModal}>
<CreateAppModal {hasKey} {template} /> <CreateAppModal {hasKey} {template} />
</Modal> </Modal>