mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 14:06:00 +03:00
close empty create application on outside click
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
34d1b7a5a4
commit
b7ed680ad6
@ -31,8 +31,8 @@
|
||||
import view from '@anticrm/view'
|
||||
|
||||
export let space: Ref<SpaceWithStates>
|
||||
export let candidate: Ref<Candidate> // | null = null
|
||||
export let employee: Ref<Employee> | null = null
|
||||
export let candidate: Ref<Candidate>
|
||||
export let employee: Ref<Employee>
|
||||
|
||||
export let preserveCandidate = false
|
||||
|
||||
@ -79,7 +79,7 @@
|
||||
}
|
||||
|
||||
async function validate (candidate: Ref<Candidate>, space: Ref<Space>) {
|
||||
if (candidate == null) {
|
||||
if (candidate == undefined) {
|
||||
status = new Status(Severity.INFO, recruit.status.CandidateRequired, {})
|
||||
} else {
|
||||
if (space === undefined) {
|
||||
|
Loading…
Reference in New Issue
Block a user