create application popup in edit candidate (#309)

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov 2021-11-16 17:34:27 +01:00 committed by GitHub
parent 76b79a829e
commit 9897e8880f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@
import Edit from './icons/Edit.svelte' import Edit from './icons/Edit.svelte'
import SocialEditor from './SocialEditor.svelte' import SocialEditor from './SocialEditor.svelte'
import AttributesBar from './AttributesBar.svelte' import AttributesBar from './AttributesBar.svelte'
import CreateApplication from './CreateApplication.svelte'
import { Table } from '@anticrm/view-resources' import { Table } from '@anticrm/view-resources'
import core from '@anticrm/core' import core from '@anticrm/core'
@ -90,7 +91,7 @@
<div class="group"> <div class="group">
<div class="flex-row-center"> <div class="flex-row-center">
<div class="caption">Applications</div> <div class="caption">Applications</div>
<CircleButton icon={IconAdd} size={'small'} on:click={ () => { } } /> <CircleButton icon={IconAdd} size={'small'} on:click={ (ev) => { showPopup(CreateApplication, { candidate: object._id, preserveCandidate: true }, ev.target) } } />
</div> </div>
<Table <Table
_class={recruit.class.Applicant} _class={recruit.class.Applicant}