mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
Add Done state to applications popup
Add Done state to applications popup Closes #860 Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
e848480ef3
commit
53d7de2b3d
@ -14,7 +14,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<script lang="ts">
|
<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 core from '@anticrm/core'
|
||||||
import task from '@anticrm/task'
|
import task from '@anticrm/task'
|
||||||
import { CircleButton, IconAdd, Label, showPopup } from '@anticrm/ui'
|
import { CircleButton, IconAdd, Label, showPopup } from '@anticrm/ui'
|
||||||
@ -29,8 +29,9 @@
|
|||||||
|
|
||||||
export let applications: number
|
export let applications: number
|
||||||
|
|
||||||
const createApp = (ev: MouseEvent): void =>
|
const createApp = (ev: MouseEvent): void => {
|
||||||
showPopup(CreateApplication, { candidate: objectId, preserveCandidate: true }, ev.target as HTMLElement)
|
showPopup(CreateApplication, { candidate: objectId, preserveCandidate: true }, ev.target as HTMLElement)
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="applications-container">
|
<div class="applications-container">
|
||||||
|
@ -28,12 +28,13 @@
|
|||||||
|
|
||||||
<Table
|
<Table
|
||||||
_class={recruit.class.Applicant}
|
_class={recruit.class.Applicant}
|
||||||
config={['', '$lookup.space.name', '$lookup.state']}
|
config={['', '$lookup.space.name', '$lookup.state', '$lookup.doneState']}
|
||||||
options={
|
options={
|
||||||
{
|
{
|
||||||
lookup: {
|
lookup: {
|
||||||
state: task.class.State,
|
state: task.class.State,
|
||||||
space: core.class.Space
|
space: core.class.Space,
|
||||||
|
doneState: task.class.DoneState
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user