mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-21 07:46:24 +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()
|
const client = getClient()
|
||||||
|
|
||||||
async function createApplication() {
|
async function createApplication() {
|
||||||
|
dispatch('close')
|
||||||
const state = await client.findOne(core.class.State, { space: _space })
|
const state = await client.findOne(core.class.State, { space: _space })
|
||||||
if (state === undefined) {
|
if (state === undefined) {
|
||||||
throw new Error('create application: state not found')
|
throw new Error('create application: state not found')
|
||||||
@ -64,7 +65,6 @@
|
|||||||
// order: id
|
// order: id
|
||||||
// }
|
// }
|
||||||
// })
|
// })
|
||||||
dispatch('close')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function validate(candidate: Ref<Candidate>, space: Ref<Space>) {
|
async function validate(candidate: Ref<Candidate>, space: Ref<Space>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user