Board: fix show popup actions (#2211)

Signed-off-by: Anna <anna.no@xored.com>
This commit is contained in:
Anna No 2022-07-05 17:00:47 +07:00 committed by GitHub
parent ffd71bc9db
commit 7498de4a01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,