Skip to content

Commit

Permalink
use filtered count for point groups
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielburnworth committed Feb 12, 2025
1 parent 7263a8c commit ce86fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/points/point_inventory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export class RawPoints extends React.Component<PointsProps, PointsState> {
<PanelSection isOpen={this.props.pointsPanelState.groups}
panel={Panel.Points}
toggleOpen={this.toggleOpen("groups")}
itemCount={pointGroups.length}
itemCount={filteredGroups.length}
addNew={() => dispatch(createGroup({
criteria: {
...DEFAULT_CRITERIA,
Expand Down

0 comments on commit ce86fe6

Please sign in to comment.