Skip to content

Commit 4ea715b

Browse files
Use pessimistic mode for bulk update buttons (#727)
1 parent edcee9f commit 4ea715b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin-js/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function createBulkUpdates(resource, name, permissions) {
240240
}
241241
}
242242
if (allowed)
243-
buttons.push(<BulkUpdateButton label={label} data={data} />);
243+
buttons.push(<BulkUpdateButton mutationMode="pessimistic" label={label} data={data} />);
244244
}
245245
return buttons;
246246
}

0 commit comments

Comments
 (0)