Skip to content

Commit

Permalink
reset index on change
Browse files Browse the repository at this point in the history
  • Loading branch information
massimocandela committed Oct 22, 2023
1 parent 011142d commit 4c14bbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/inputs/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export default class Input {
item.group = [item.group].flat();
}

this.index.reset();
for (let item of this.prefixes) {
item.group = [item.group].flat();
this.index.addPrefix(item.prefix, item);
Expand Down

0 comments on commit 4c14bbf

Please sign in to comment.