mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-24 12:06:57 +03:00
TSK-1068: update department for Staff via side panel (#3073)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
559dedea69
commit
c0adc676e5
@ -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
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user