Skip to content

Commit

Permalink
fix: consider case where all values are selected
Browse files Browse the repository at this point in the history
  • Loading branch information
mahyarmirrashed committed Nov 5, 2023
1 parent 5c33641 commit 24e3780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/slots/BaseSlot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export abstract class BaseSlot implements IBaseSlot {
}

toString() {
if (this.isFresh) return "*";
if (this.isFresh || this.selectedValues.every((val) => val)) return "*";

let ranges: string[] = [];
let rangeStart: number | null = null;
Expand Down

0 comments on commit 24e3780

Please sign in to comment.