HR: Fixes to Vacancy/Application creation (#1753)

This commit is contained in:
Andrey Sobolev
2022-05-16 18:41:22 +07:00
committed by GitHub
parent 84844b65a9
commit 2defbc434b
57 changed files with 745 additions and 501 deletions
@@ -24,6 +24,7 @@
export let folders: Ref<KanbanTemplateSpace>[]
export let template: Ref<KanbanTemplate> | undefined = undefined
export let focusIndex = -1
let templates: KanbanTemplate[] = []
const templatesQ = createQuery()
@@ -47,4 +48,10 @@
}
</script>
<DropdownLabels {items} icon={task.icon.ManageStatuses} bind:selected={selectedItem} label={plugin.string.States} />
<DropdownLabels
{focusIndex}
{items}
icon={task.icon.ManageStatuses}
bind:selected={selectedItem}
label={plugin.string.States}
/>
@@ -52,7 +52,6 @@
label={plugin.string.TodoCreate}
okAction={createTodo}
canSave={name?.length > 0}
bind:space={_space}
on:close={() => {
dispatch('close')
}}
@@ -66,7 +66,6 @@
label={plugin.string.TodoEdit}
okAction={editTodo}
canSave={name.length > 0}
space={item.space}
on:close={() => {
dispatch('close')
}}