Fix CreateApplication double close (#313)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2021-11-17 14:38:53 +01:00
committed by GitHub
parent 444441f5a4
commit 1d192074e4
@@ -48,7 +48,6 @@
}
async function createApplication() {
dispatch('close')
const state = await client.findOne(core.class.State, { space: _space })
if (state === undefined) {
throw new Error('create application: state not found')