File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -365,6 +365,7 @@ export class MainPanelView extends view.View<any> {
365
365
private clearedError = true ;
366
366
clearError ( ) {
367
367
this . clearedError = true ;
368
+ this . clearSummary ( ) ;
368
369
this . errorBody . empty ( ) ;
369
370
}
370
371
@@ -396,6 +397,11 @@ export class MainPanelView extends view.View<any> {
396
397
}
397
398
}
398
399
400
+ clearSummary ( ) {
401
+ this . summary . html ( '' ) ;
402
+ this . summary . off ( ) ;
403
+ }
404
+
399
405
setErrorPanelErrorCount ( fileErrorCount : number , totalErrorCount : number ) {
400
406
var title = `${ panelHeaders . error } ( <span class="text-success">No Errors</span> )` ;
401
407
if ( totalErrorCount > 0 ) {
@@ -407,7 +413,7 @@ export class MainPanelView extends view.View<any> {
407
413
)` ;
408
414
}
409
415
else {
410
- this . summary . html ( '' ) ;
416
+ this . clearSummary ( ) ;
411
417
this . errorBody . html ( '<span class="text-success">No errors in open files \u2665</span>' ) ;
412
418
}
413
419
You can’t perform that action at this time.
0 commit comments