This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -266,6 +266,17 @@ export const WORKLOAD_OPTIONS = [
266
266
{ value : "fractional" , label : "fractional" } ,
267
267
] ;
268
268
269
+ /**
270
+ * resourceType options
271
+ */
272
+ export const RESOURCE_TYPE_OPTIONS = [
273
+ { value : null , label : "" } ,
274
+ { value : "designer" , label : "designer" } ,
275
+ { value : "software-developer" , label : "software developer" } ,
276
+ { value : "data-scientist" , label : "data scientist" } ,
277
+ { value : "data-engineer" , label : "data engineer" } ,
278
+ ] ;
279
+
269
280
/**
270
281
* status options
271
282
*/
Original file line number Diff line number Diff line change 7
7
RATE_TYPE_OPTIONS ,
8
8
STATUS_OPTIONS ,
9
9
WORKLOAD_OPTIONS ,
10
+ RESOURCE_TYPE_OPTIONS ,
10
11
FORM_ROW_TYPE ,
11
12
FORM_FIELD_TYPE ,
12
13
} from "../../constants" ;
@@ -79,10 +80,9 @@ export const getEditJobConfig = (skillOptions, onSubmit) => {
79
80
} ,
80
81
{
81
82
label : "Resource Type" ,
82
- type : FORM_FIELD_TYPE . TEXT ,
83
+ type : FORM_FIELD_TYPE . SELECT ,
83
84
name : "resourceType" ,
84
- maxLength : 255 ,
85
- placeholder : "Resource Type" ,
85
+ selectOptions : RESOURCE_TYPE_OPTIONS ,
86
86
} ,
87
87
{
88
88
label : "Resource Rate Frequency" ,
You can’t perform that action at this time.
0 commit comments