File tree 6 files changed +31
-3
lines changed
__tests__/shared/components/GUIKit/TextInput/__snapshots__
6 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ workflows:
245
245
filters :
246
246
branches :
247
247
only :
248
- - gig-application
248
+ - develop
249
249
# This is beta env for production soft releases
250
250
- " build-prod-beta " :
251
251
context : org-global
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ exports[`Default render 1`] = `
7
7
<input
8
8
className = " "
9
9
defaultValue = " "
10
+ onBlur = { [Function ]}
10
11
onChange = { [Function ]}
11
12
placeholder = " "
12
13
type = " text"
Original file line number Diff line number Diff line change @@ -288,6 +288,29 @@ export default class RecruitCRMService {
288
288
errObj,
289
289
} ) ;
290
290
}
291
+ // Set hired-stage
292
+ const hireStageResponse = await fetch ( `${ this . private . baseUrl } /v1/candidates/${ candidateData . slug } /hiring-stages/${ id } ` , {
293
+ method : 'POST' ,
294
+ headers : {
295
+ 'Content-Type' : 'application/json' ,
296
+ Authorization : this . private . authorization ,
297
+ } ,
298
+ body : JSON . stringify ( {
299
+ candidate_slug : candidateData . slug ,
300
+ job_slug : id ,
301
+ status_id : '10' ,
302
+ } ) ,
303
+ } ) ;
304
+ if ( hireStageResponse . status >= 400 ) {
305
+ return res . send ( {
306
+ error : true ,
307
+ status : hireStageResponse . status ,
308
+ url : `$${ this . private . baseUrl } /v1/candidates/${ candidateData . slug } /hiring-stages/${ id } ` ,
309
+ form,
310
+ errObj : await hireStageResponse . json ( ) ,
311
+ } ) ;
312
+ }
313
+ // respond to API call
291
314
const data = await applyResponse . json ( ) ;
292
315
return res . send ( data ) ;
293
316
} catch ( err ) {
Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ function TextInput({
35
35
delayedOnChange ( e . target . value , onChange ) ;
36
36
setVal ( e . target . value ) ;
37
37
} }
38
+ onBlur = { ( e ) => {
39
+ delayedOnChange ( e . target . value , onChange ) ;
40
+ setVal ( e . target . value ) ;
41
+ } }
38
42
/>
39
43
{ label ? (
40
44
< label htmlFor = "textBoxInput" >
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ export default function ChallengeHeader(props) {
204
204
}
205
205
}
206
206
207
- const checkpointCount = checkpoints && checkpoints . numberOfUniqueSubmitters ;
207
+ const checkpointCount = checkpoints && checkpoints . numberOfPassedScreeningSubmissions ;
208
208
209
209
let nextDeadlineMsg ;
210
210
switch ( ( status || '' ) . toLowerCase ( ) ) {
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export default function ChallengeDetailsView(props) {
61
61
let stockArtValue = '' ;
62
62
const allowStockArt = _ . find ( metadata , { name : 'allowStockArt' } ) ;
63
63
if ( allowStockArt ) {
64
- stockArtValue = allowStockArt . value ;
64
+ stockArtValue = allowStockArt . value === 'true' ;
65
65
}
66
66
67
67
let environment = '' ;
You can’t perform that action at this time.
0 commit comments