mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-26 13:47:26 +03:00
TSK-1598 Fix tags dialog (#3510)
Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
parent
b38b252296
commit
a78e4eb4f4
@ -1692,7 +1692,7 @@ export function createModel (builder: Builder): void {
|
||||
component: tags.component.ObjectsTagsEditorPopup,
|
||||
element: 'top',
|
||||
fillProps: {
|
||||
_objects: 'objects'
|
||||
_objects: 'value'
|
||||
}
|
||||
},
|
||||
label: tracker.string.Labels,
|
||||
|
@ -18,7 +18,8 @@
|
||||
import tags, { TagElement, TagReference } from '@hcengineering/tags'
|
||||
import TagsPopup from './TagsPopup.svelte'
|
||||
|
||||
export let objects: Doc[]
|
||||
export let value: Doc | Doc[]
|
||||
$: objects = Array.isArray(value) ? value : [value]
|
||||
|
||||
let selected: Ref<TagElement>[] = []
|
||||
let tagRefs: TagReference[] = []
|
||||
|
Loading…
Reference in New Issue
Block a user