[UBER-334] Add categories to the assignee popup (#3324)

This commit is contained in:
Sergei Ogorelkov
2023-06-01 23:38:53 +07:00
committed by GitHub
parent eee6e69114
commit 8ce6d005df
25 changed files with 112 additions and 210 deletions
+6 -10
View File
@@ -604,13 +604,9 @@ export function createModel (builder: Builder): void {
},
{
key: 'assignee',
presenter: tracker.component.AssigneePresenter,
presenter: tracker.component.AssigneeEditor,
displayProps: { key: 'assigee', fixed: 'right' },
props: {
key: 'assignee',
defaultClass: contact.class.Employee,
shouldShowLabel: false
}
props: { kind: 'list', shouldShowName: false, avatarSize: 'x-small' }
}
],
options: {
@@ -715,8 +711,8 @@ export function createModel (builder: Builder): void {
},
{
key: 'assignee',
presenter: tracker.component.AssigneePresenter,
props: { defaultClass: contact.class.Employee, shouldShowLabel: false }
presenter: tracker.component.AssigneeEditor,
props: { kind: 'list', shouldShowName: false, avatarSize: 'x-small' }
}
]
},
@@ -791,8 +787,8 @@ export function createModel (builder: Builder): void {
},
{
key: 'assignee',
presenter: tracker.component.AssigneePresenter,
props: { defaultClass: contact.class.Employee, shouldShowLabel: false }
presenter: tracker.component.AssigneeEditor,
props: { kind: 'list', shouldShowName: false, avatarSize: 'x-small' }
}
]
},