mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-24 20:40:59 +00:00
Merge pull request #868 from hcengineering/fix-860
Add Done state to applications popup
This commit is contained in:
commit
777f2e4477
@ -14,7 +14,7 @@
|
||||
-->
|
||||
|
||||
<script lang="ts">
|
||||
import type { Class, Doc, Ref, Space } from '@anticrm/core'
|
||||
import type { Doc, Ref } from '@anticrm/core'
|
||||
import core from '@anticrm/core'
|
||||
import task from '@anticrm/task'
|
||||
import { CircleButton, IconAdd, Label, showPopup } from '@anticrm/ui'
|
||||
@ -29,8 +29,9 @@
|
||||
|
||||
export let applications: number
|
||||
|
||||
const createApp = (ev: MouseEvent): void =>
|
||||
const createApp = (ev: MouseEvent): void => {
|
||||
showPopup(CreateApplication, { candidate: objectId, preserveCandidate: true }, ev.target as HTMLElement)
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="applications-container">
|
||||
|
@ -28,12 +28,13 @@
|
||||
|
||||
<Table
|
||||
_class={recruit.class.Applicant}
|
||||
config={['', '$lookup.space.name', '$lookup.state']}
|
||||
config={['', '$lookup.space.name', '$lookup.state', '$lookup.doneState']}
|
||||
options={
|
||||
{
|
||||
lookup: {
|
||||
state: task.class.State,
|
||||
space: core.class.Space
|
||||
space: core.class.Space,
|
||||
doneState: task.class.DoneState
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user