mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-28 19:08:01 +00:00
Fix "SetParent", "Add sub-issue" and "Set Due date" actions (#2185)
This commit is contained in:
parent
f30961e665
commit
f7bd1389f0
@ -595,7 +595,8 @@ export function createModel (builder: Builder): void {
|
||||
component: tracker.component.CreateIssue,
|
||||
element: 'top',
|
||||
fillProps: {
|
||||
_object: 'parentIssue'
|
||||
_object: 'parentIssue',
|
||||
space: 'space'
|
||||
}
|
||||
},
|
||||
label: tracker.string.NewSubIssue,
|
||||
@ -610,7 +611,7 @@ export function createModel (builder: Builder): void {
|
||||
group: 'associate'
|
||||
}
|
||||
},
|
||||
tracker.action.SetParent
|
||||
tracker.action.NewSubIssue
|
||||
)
|
||||
|
||||
createAction(
|
||||
@ -619,7 +620,10 @@ export function createModel (builder: Builder): void {
|
||||
action: view.actionImpl.ShowPopup,
|
||||
actionProps: {
|
||||
component: tracker.component.SetParentIssueActionPopup,
|
||||
element: 'top'
|
||||
element: 'top',
|
||||
fillProps: {
|
||||
_object: 'value'
|
||||
}
|
||||
},
|
||||
label: tracker.string.SetParent,
|
||||
icon: tracker.icon.Parent,
|
||||
@ -641,7 +645,10 @@ export function createModel (builder: Builder): void {
|
||||
actionPopup: tracker.component.SetParentIssueActionPopup,
|
||||
actionProps: {
|
||||
component: tracker.component.SetParentIssueActionPopup,
|
||||
element: 'top'
|
||||
element: 'top',
|
||||
fillProps: {
|
||||
_object: 'value'
|
||||
}
|
||||
},
|
||||
label: tracker.string.SetParent,
|
||||
icon: tracker.icon.Parent,
|
||||
@ -790,7 +797,10 @@ export function createModel (builder: Builder): void {
|
||||
actionProps: {
|
||||
component: tracker.component.SetDueDateActionPopup,
|
||||
props: { mondayStart: true, withTime: false },
|
||||
element: 'top'
|
||||
element: 'top',
|
||||
fillProps: {
|
||||
_object: 'value'
|
||||
}
|
||||
},
|
||||
label: tracker.string.SetDueDate,
|
||||
icon: tracker.icon.DueDate,
|
||||
|
@ -287,6 +287,7 @@ export default plugin(trackerId, {
|
||||
CopyIssueLink: '' as Ref<Action>,
|
||||
MoveToTeam: '' as Ref<Action>,
|
||||
Relations: '' as Ref<Action>,
|
||||
NewSubIssue: '' as Ref<Action>,
|
||||
EditWorkflowStatuses: '' as Ref<Action>
|
||||
},
|
||||
team: {
|
||||
|
Loading…
Reference in New Issue
Block a user