diff --git a/src/ui/filter-bar.ts b/src/ui/filter-bar.ts index 1eba81247d4..6d9c1d9a421 100644 --- a/src/ui/filter-bar.ts +++ b/src/ui/filter-bar.ts @@ -185,6 +185,11 @@ export class FilterBar extends Phaser.GameObjects.Container { return this.getFilter(col).getVals(); } + resetSelection(col: DropDownColumn): void { + this.dropDowns[col].resetToDefault(); + this.updateFilterLabels(); + } + setValsToDefault(): void { for (const dropDown of this.dropDowns) { dropDown.resetToDefault();