Skip to content

Commit

Permalink
TSK-1598 Fix tags dialog (#3510)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
  • Loading branch information
aonnikov authored and annano committed Aug 24, 2023
1 parent ad08308 commit 458bf37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/tracker/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = []
Expand Down

0 comments on commit 458bf37

Please sign in to comment.