Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
f3cc5358be
commit
f349a12041
@@ -462,9 +462,11 @@ export function CollectionDetail({
|
||||
if (error) {
|
||||
toast.error("Could not save", { description: error.message });
|
||||
load();
|
||||
} else {
|
||||
onChange();
|
||||
}
|
||||
// NOTE: intentionally do NOT call onChange() here. Inline cell edits are
|
||||
// optimistic; bumping the parent reload counter caused the entire
|
||||
// collection page to refetch and visually scroll. Heavier mutations
|
||||
// (add/remove/reorder/post interest/etc.) still call onChange().
|
||||
};
|
||||
|
||||
// Insert a new row at the end. Optional preset for transaction_type / description.
|
||||
|
||||
Reference in New Issue
Block a user