Fix CreateApplication double close (#313)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov 2021-11-17 16:38:53 +03:00 committed by GitHub
parent 444441f5a4
commit 1d192074e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')