Skip to content

Commit 7d37b30

Browse files
committed
some adjusts
1 parent 5d57988 commit 7d37b30

File tree

3 files changed

+453
-27
lines changed

3 files changed

+453
-27
lines changed

components/talenthr/actions/update-employee/update-employee.mjs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import {
22
CITIZENSHIP_OPTIONS,
33
GENDER_OPTIONS,
4+
LANGUAGE_OPTIONS,
45
MARITAL_STATUS_OPTIONS,
56
} from "../../common/constants.mjs";
67
import {
@@ -92,8 +93,8 @@ export default {
9293
},
9394
citizenship: {
9495
type: "string",
95-
label: "citizenship",
96-
description: "citizenship",
96+
label: "Citizenship",
97+
description: "The citizenship of the employee",
9798
options: CITIZENSHIP_OPTIONS,
9899
optional: true,
99100
},
@@ -115,15 +116,13 @@ export default {
115116
description: "The phone numbe of the employee",
116117
optional: true,
117118
},
118-
119119
address: {
120120
propDefinition: [
121121
talenthr,
122122
"address",
123123
],
124124
optional: true,
125125
},
126-
127126
country: {
128127
propDefinition: [
129128
talenthr,
@@ -325,10 +324,10 @@ export default {
325324
optional: true,
326325
},
327326
hrLanguages: {
328-
propDefinition: [
329-
talenthr,
330-
"hrLanguages",
331-
],
327+
type: "integer[]",
328+
label: "HR Languages",
329+
description: "A list of language ids",
330+
options: LANGUAGE_OPTIONS,
332331
optional: true,
333332
},
334333
hrFamily: {

0 commit comments

Comments
 (0)