mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 16:56:07 +00:00
Merge pull request #605 from hcengineering/applicant-close
close empty create application on outside click
This commit is contained in:
commit
56d0f7ec2b
@ -31,8 +31,8 @@
|
|||||||
import view from '@anticrm/view'
|
import view from '@anticrm/view'
|
||||||
|
|
||||||
export let space: Ref<SpaceWithStates>
|
export let space: Ref<SpaceWithStates>
|
||||||
export let candidate: Ref<Candidate> // | null = null
|
export let candidate: Ref<Candidate>
|
||||||
export let employee: Ref<Employee> | null = null
|
export let employee: Ref<Employee>
|
||||||
|
|
||||||
export let preserveCandidate = false
|
export let preserveCandidate = false
|
||||||
|
|
||||||
@ -79,7 +79,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function validate (candidate: Ref<Candidate>, space: Ref<Space>) {
|
async function validate (candidate: Ref<Candidate>, space: Ref<Space>) {
|
||||||
if (candidate == null) {
|
if (candidate == undefined) {
|
||||||
status = new Status(Severity.INFO, recruit.status.CandidateRequired, {})
|
status = new Status(Severity.INFO, recruit.status.CandidateRequired, {})
|
||||||
} else {
|
} else {
|
||||||
if (space === undefined) {
|
if (space === undefined) {
|
||||||
|
Loading…
Reference in New Issue
Block a user