diff --git a/mathesar_ui/src/stores/table-data/records.ts b/mathesar_ui/src/stores/table-data/records.ts index 8c103401a4..5ba7bea95c 100644 --- a/mathesar_ui/src/stores/table-data/records.ts +++ b/mathesar_ui/src/stores/table-data/records.ts @@ -295,8 +295,8 @@ export class RecordsData { return data; }); this.error.set(undefined); - this.state.set(States.Loading); if (!retainExistingRows) { + this.state.set(States.Loading); this.newRecords.set([]); this.meta.cellClientSideErrors.clear(); this.meta.cellModificationStatus.clear();