mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-14 20:39:03 +00:00
close CreateApplication
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
25d98e4b64
commit
bde9357f72
@ -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>) {
|
||||
|
Loading…
Reference in New Issue
Block a user