From 4adc20f80d651a2eb202787ec9977d6e73e959d6 Mon Sep 17 00:00:00 2001 From: Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> Date: Mon, 15 Nov 2021 21:18:29 +0100 Subject: [PATCH] replace `undoable` prop with `mutationMode` prop (#202) --- src/components/RoomDirectory.js | 2 +- src/components/rooms.js | 2 +- src/components/users.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/RoomDirectory.js b/src/components/RoomDirectory.js index c8d110f..0284e14 100644 --- a/src/components/RoomDirectory.js +++ b/src/components/RoomDirectory.js @@ -59,7 +59,7 @@ export const RoomDirectoryBulkDeleteButton = props => ( ( {...props} confirmTitle="resources.rooms.action.erase.title" confirmContent="resources.rooms.action.erase.content" - undoable={false} + mutationMode="pessimistic" /> ); diff --git a/src/components/users.js b/src/components/users.js index 06e659a..ff29fdf 100644 --- a/src/components/users.js +++ b/src/components/users.js @@ -144,7 +144,7 @@ const UserBulkActionButtons = props => ( {...props} label="resources.users.action.erase" confirmTitle="resources.users.helper.erase" - undoable={false} + mutationMode="pessimistic" /> );