Fix typo in duplicate filter error text

This commit is contained in:
phantamanta44 2021-01-25 16:59:25 -06:00
parent 86eee2f617
commit 4accec5be7

View file

@ -589,7 +589,7 @@ class ItemSearchState {
this.getFilter(NameFilter.TYPE).adjoin(filter);
return;
}
throw new Error(`Duplicate filters: $[type.name}`);
throw new Error(`Duplicate filters: ${type.name}`);
}
this.filterList.push(filter);
this.filterTable.set(type, filter);