replace undoable prop with mutationMode prop (#202)

This commit is contained in:
Dirk Klimpel 2021-11-15 21:18:29 +01:00 committed by GitHub
parent a5c7d7dd22
commit 4adc20f80d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ export const RoomDirectoryBulkDeleteButton = props => (
<BulkDeleteButton <BulkDeleteButton
{...props} {...props}
label="resources.room_directory.action.erase" label="resources.room_directory.action.erase"
undoable={false} mutationMode="pessimistic"
confirmTitle="resources.room_directory.action.title" confirmTitle="resources.room_directory.action.title"
confirmContent="resources.room_directory.action.content" confirmContent="resources.room_directory.action.content"
resource="room_directory" resource="room_directory"

View File

@ -315,7 +315,7 @@ const RoomBulkActionButtons = props => (
{...props} {...props}
confirmTitle="resources.rooms.action.erase.title" confirmTitle="resources.rooms.action.erase.title"
confirmContent="resources.rooms.action.erase.content" confirmContent="resources.rooms.action.erase.content"
undoable={false} mutationMode="pessimistic"
/> />
</Fragment> </Fragment>
); );

View File

@ -144,7 +144,7 @@ const UserBulkActionButtons = props => (
{...props} {...props}
label="resources.users.action.erase" label="resources.users.action.erase"
confirmTitle="resources.users.helper.erase" confirmTitle="resources.users.helper.erase"
undoable={false} mutationMode="pessimistic"
/> />
</Fragment> </Fragment>
); );