Skip to content

Commit

Permalink
Fix another var defintion in for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
pulb committed Oct 19, 2019
1 parent 43f0a31 commit d598d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ class MailnagIndicator extends PanelMenu.Button {
counter = Math.max(counter, groups.size);

while (counter > 0) {
for ([k, v] of groups) {
for (let [k, v] of groups) {
if (v.length > 0) {
if (!groupsTrimmed.has(k))
groupsTrimmed.set(k, [])
Expand Down

0 comments on commit d598d4e

Please sign in to comment.