TSK-1068: update department for Staff via side panel (#3073)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov 2023-04-25 19:54:40 +05:00 committed by GitHub
parent 559dedea69
commit c0adc676e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@
import { AnySvelteComponent, ButtonKind, ButtonSize } from '@hcengineering/ui'
import { ObjectCreate } from '../types'
import SpaceSelect from './SpaceSelect.svelte'
import { createEventDispatcher } from 'svelte'
export let space: Ref<Space> | undefined = undefined
export let _class: Ref<Class<Space>>
@ -34,6 +35,8 @@
export let componentProps: any | undefined = undefined
export let autoSelect = true
const dispatch = createEventDispatcher()
export let create: ObjectCreate | undefined = undefined
</script>
@ -56,6 +59,7 @@
bind:value={space}
on:change={(evt) => {
space = evt.detail
dispatch('change', space)
}}
on:space
/>