From 7498de4a011989978dee7c0cb4b5dc5d2796ade4 Mon Sep 17 00:00:00 2001 From: Anna No Date: Tue, 5 Jul 2022 17:00:47 +0700 Subject: [PATCH] Board: fix show popup actions (#2211) Signed-off-by: Anna --- models/board/src/index.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/models/board/src/index.ts b/models/board/src/index.ts index cc47637af8..cdf0d1e709 100644 --- a/models/board/src/index.ts +++ b/models/board/src/index.ts @@ -296,7 +296,7 @@ export function createModel (builder: Builder): void { component: tags.component.TagsEditorPopup, element: view.popup.PositionElementAlignment, fillProps: { - _object: 'value' + _object: 'object' } }, label: board.string.Labels, @@ -315,7 +315,10 @@ export function createModel (builder: Builder): void { action: view.actionImpl.ShowPopup, actionProps: { component: board.component.DatesActionPopup, - element: view.popup.PositionElementAlignment + element: view.popup.PositionElementAlignment, + fillProps: { + _object: 'value' + } }, label: board.string.Dates, icon: board.icon.Card, @@ -355,7 +358,10 @@ export function createModel (builder: Builder): void { action: view.actionImpl.ShowPopup, actionProps: { component: board.component.MoveActionPopup, - element: view.popup.PositionElementAlignment + element: view.popup.PositionElementAlignment, + fillProps: { + _object: 'value' + } }, input: 'any', inline: true, @@ -371,7 +377,10 @@ export function createModel (builder: Builder): void { action: view.actionImpl.ShowPopup, actionProps: { component: board.component.CopyActionPopup, - element: view.popup.PositionElementAlignment + element: view.popup.PositionElementAlignment, + fillProps: { + _object: 'value' + } }, label: board.string.Copy, icon: board.icon.Card,