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 GitHub
parent 15028992d6
commit 8f6a8bf9ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,