From 4451091fefbbb079ba693df79849f564858a82c4 Mon Sep 17 00:00:00 2001 From: Anna Date: Tue, 5 Jul 2022 14:59:19 +0700 Subject: [PATCH] Board: fix show popup actions 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 cc47637af8c..cdf0d1e709e 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,