Skip to content

Commit

Permalink
Fix "length 0" text not appearing on lists that are initially empty
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Nov 3, 2021
1 parent f181315 commit 8f8bb85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scaffolding/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ class ListMonitor extends Monitor {
this.rows = new Map();
this.cachedRows = [];
this.scrollTop = 0;
this.oldLength = 0;
this.oldLength = -1;

this.label = document.createElement('div');
this.label.className = styles.monitorListLabel;
Expand Down

0 comments on commit 8f8bb85

Please sign in to comment.