mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-06 07:46:32 +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,
|
component: tracker.component.CreateIssue,
|
||||||
element: 'top',
|
element: 'top',
|
||||||
fillProps: {
|
fillProps: {
|
||||||
_object: 'parentIssue'
|
_object: 'parentIssue',
|
||||||
|
space: 'space'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
label: tracker.string.NewSubIssue,
|
label: tracker.string.NewSubIssue,
|
||||||
@ -610,7 +611,7 @@ export function createModel (builder: Builder): void {
|
|||||||
group: 'associate'
|
group: 'associate'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
tracker.action.SetParent
|
tracker.action.NewSubIssue
|
||||||
)
|
)
|
||||||
|
|
||||||
createAction(
|
createAction(
|
||||||
@ -619,7 +620,10 @@ export function createModel (builder: Builder): void {
|
|||||||
action: view.actionImpl.ShowPopup,
|
action: view.actionImpl.ShowPopup,
|
||||||
actionProps: {
|
actionProps: {
|
||||||
component: tracker.component.SetParentIssueActionPopup,
|
component: tracker.component.SetParentIssueActionPopup,
|
||||||
element: 'top'
|
element: 'top',
|
||||||
|
fillProps: {
|
||||||
|
_object: 'value'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
label: tracker.string.SetParent,
|
label: tracker.string.SetParent,
|
||||||
icon: tracker.icon.Parent,
|
icon: tracker.icon.Parent,
|
||||||
@ -641,7 +645,10 @@ export function createModel (builder: Builder): void {
|
|||||||
actionPopup: tracker.component.SetParentIssueActionPopup,
|
actionPopup: tracker.component.SetParentIssueActionPopup,
|
||||||
actionProps: {
|
actionProps: {
|
||||||
component: tracker.component.SetParentIssueActionPopup,
|
component: tracker.component.SetParentIssueActionPopup,
|
||||||
element: 'top'
|
element: 'top',
|
||||||
|
fillProps: {
|
||||||
|
_object: 'value'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
label: tracker.string.SetParent,
|
label: tracker.string.SetParent,
|
||||||
icon: tracker.icon.Parent,
|
icon: tracker.icon.Parent,
|
||||||
@ -790,7 +797,10 @@ export function createModel (builder: Builder): void {
|
|||||||
actionProps: {
|
actionProps: {
|
||||||
component: tracker.component.SetDueDateActionPopup,
|
component: tracker.component.SetDueDateActionPopup,
|
||||||
props: { mondayStart: true, withTime: false },
|
props: { mondayStart: true, withTime: false },
|
||||||
element: 'top'
|
element: 'top',
|
||||||
|
fillProps: {
|
||||||
|
_object: 'value'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
label: tracker.string.SetDueDate,
|
label: tracker.string.SetDueDate,
|
||||||
icon: tracker.icon.DueDate,
|
icon: tracker.icon.DueDate,
|
||||||
|
@ -287,6 +287,7 @@ export default plugin(trackerId, {
|
|||||||
CopyIssueLink: '' as Ref<Action>,
|
CopyIssueLink: '' as Ref<Action>,
|
||||||
MoveToTeam: '' as Ref<Action>,
|
MoveToTeam: '' as Ref<Action>,
|
||||||
Relations: '' as Ref<Action>,
|
Relations: '' as Ref<Action>,
|
||||||
|
NewSubIssue: '' as Ref<Action>,
|
||||||
EditWorkflowStatuses: '' as Ref<Action>
|
EditWorkflowStatuses: '' as Ref<Action>
|
||||||
},
|
},
|
||||||
team: {
|
team: {
|
||||||
|
Loading…
Reference in New Issue
Block a user