Merge pull request #16479 from lgrzybowski/fix/change_NA_to_blank_when_no_estimation
fix(map): Removed NA text for challenge without time estimatpull/16566/head
commit
20a3363d39
|
@ -61,7 +61,9 @@ export class Block extends PureComponent {
|
|||
<span>
|
||||
{ title }
|
||||
</span>
|
||||
<span className={ `${ns}-block-time` }>({ time })</span>
|
||||
{
|
||||
time && <span className={ `${ns}-block-time` }>({ time })</span>
|
||||
}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
},
|
||||
"time": {
|
||||
"type": "string",
|
||||
"required": true
|
||||
"required": false
|
||||
}
|
||||
},
|
||||
"validations": [],
|
||||
|
|
|
@ -46,7 +46,7 @@ Observable.combineLatest(
|
|||
const isComingSoon = !!challengeSpec.isComingSoon;
|
||||
const fileName = challengeSpec.fileName;
|
||||
const helpRoom = challengeSpec.helpRoom || 'Help';
|
||||
const time = challengeSpec.time || 'N/A';
|
||||
const time = challengeSpec.time;
|
||||
const isLocked = !!challengeSpec.isLocked;
|
||||
const message = challengeSpec.message;
|
||||
const required = challengeSpec.required || [];
|
||||
|
|
Loading…
Reference in New Issue