close CreateApplication

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-10-11 11:35:22 +02:00
parent 25d98e4b64
commit bde9357f72
No known key found for this signature in database
GPG Key ID: C8787EFEB4B64AF0

View File

@ -44,6 +44,7 @@
const client = getClient()
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')
@ -64,7 +65,6 @@
// order: id
// }
// })
dispatch('close')
}
async function validate(candidate: Ref<Candidate>, space: Ref<Space>) {