File tree Expand file tree Collapse file tree 1 file changed +9
-14
lines changed
packages/selenium-ide/src/neo/components/Runs Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -34,23 +34,18 @@ export default class Runs extends React.Component {
3434 runs : 0 ,
3535 failures : 0 ,
3636 }
37- Progress ( ) {
38- if ( PlaybackState . isSilent ) {
39- ; < Progress hasError = { this . props . hasError } />
40- } else {
41- return (
42- < Progress
43- hasError = { this . props . hasError }
44- progress = { this . props . progress }
45- totalProgress = { this . props . totalProgress }
46- />
47- )
48- }
49- }
5037 render ( ) {
5138 return (
5239 < div className = "runs" >
53- < Progress />
40+ { ! PlaybackState . isSilent ? (
41+ < Progress
42+ hasError = { this . props . hasError }
43+ progress = { this . props . progress }
44+ totalProgress = { this . props . totalProgress }
45+ />
46+ ) : (
47+ < Progress hasError = { false } />
48+ ) }
5449 < div className = "status" >
5550 < span > Runs: { PlaybackState . isSilent ? 0 : this . props . runs } </ span >
5651 < span >
You can’t perform that action at this time.
0 commit comments