Skip to content

Commit bf2c4b0

Browse files
committed
Only start loading if it has changed
1 parent 96c326e commit bf2c4b0

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/iris-grid/src/IrisGrid.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -958,13 +958,12 @@ class IrisGrid extends Component<IrisGridProps, IrisGridState> {
958958
this.clearGridInputField();
959959
this.clearCrossColumSearch();
960960
}
961-
this.startLoading('Filtering...', { resetRanges: true });
962961
const isChanged = this.applyInputFilters(
963962
changedInputFilters,
964963
replaceExistingFilters
965964
);
966-
if (!isChanged) {
967-
this.stopLoading();
965+
if (isChanged) {
966+
this.startLoading('Filtering...', { resetRanges: true });
968967
}
969968
}
970969

0 commit comments

Comments
 (0)