refactor(base): drop type-change invalidation branch from update-property mutation

This commit is contained in:
Philipinho
2026-04-18 13:29:32 +01:00
parent 2ececc8203
commit b244f831da
@@ -62,18 +62,6 @@ export function useUpdatePropertyMutation() {
};
},
);
// Invalidate rows only for the synchronous (inline) path — the
// HTTP response there is the "cells are migrated" signal. When the
// server hands back a `jobId`, cells are still being rewritten; the
// `base:schema:bumped` socket event is the canonical refetch
// trigger in that case, and we'd only churn pages with old data by
// refetching now.
if (variables.type && !result.jobId) {
queryClient.invalidateQueries({
queryKey: ["base-rows", variables.baseId],
});
}
},
onError: () => {
notifications.show({