diff --git a/frontend/components.d.ts b/frontend/components.d.ts index afedd3ed..05dfca54 100644 --- a/frontend/components.d.ts +++ b/frontend/components.d.ts @@ -25,6 +25,7 @@ declare module 'vue' { AscendingIcon: typeof import('./src/components/Icons/AscendingIcon.vue')['default'] AssignmentModal: typeof import('./src/components/Modals/AssignmentModal.vue')['default'] AssignTo: typeof import('./src/components/AssignTo.vue')['default'] + AssignToBody: typeof import('./src/components/AssignToBody.vue')['default'] AttachmentArea: typeof import('./src/components/Activities/AttachmentArea.vue')['default'] AttachmentIcon: typeof import('./src/components/Icons/AttachmentIcon.vue')['default'] AttachmentItem: typeof import('./src/components/AttachmentItem.vue')['default'] diff --git a/frontend/src/components/AssignTo.vue b/frontend/src/components/AssignTo.vue index 1f42df3a..dcd5cf9d 100644 --- a/frontend/src/components/AssignTo.vue +++ b/frontend/src/components/AssignTo.vue @@ -1,31 +1,34 @@ - - - - - {{ __('Assign to') }} - - + + + + + + + + + + + diff --git a/frontend/src/components/AssignToBody.vue b/frontend/src/components/AssignToBody.vue new file mode 100644 index 00000000..dc71dbea --- /dev/null +++ b/frontend/src/components/AssignToBody.vue @@ -0,0 +1,196 @@ + + + {{ __('Assign to') }} + addValue(option) && ($refs.input.value = '')" + :placeholder="__('John Doe')" + :filters="{ + name: ['in', users.data.crmUsers?.map((user) => user.name)], + }" + :hideMe="true" + > + + + + + + + {{ getUser(assignee.name).full_name }} + + + + + + + + + + + + + + + + + {{ getUser(option.value).full_name }} + + + + + + + {{ __('Assign to me') }} + + + + + + +