mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-26 18:29:51 +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">
|
<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