fix adding person to department action (#6455)

Signed-off-by: Evgenii Rechkalov <snorkysnark@gmail.com>
This commit is contained in:
Francis The Basilisk 2024-09-02 08:29:31 +02:00 committed by Andrey Sobolev
parent 495644c8f0
commit 9ec7a98978
No known key found for this signature in database
GPG Key ID: BD80F68D68D8F7F2

View File

@ -444,7 +444,8 @@ export function createModel (builder: Builder): void {
_class: hr.class.Department,
query: {},
searchField: 'name',
placeholder: hr.string.Department
placeholder: hr.string.Department,
castRequest: hr.mixin.Staff
},
label: hr.string.Department,
icon: hr.icon.Department,