replace undoable
prop with mutationMode
prop (#202)
This commit is contained in:
parent
a5c7d7dd22
commit
4adc20f80d
@ -59,7 +59,7 @@ export const RoomDirectoryBulkDeleteButton = props => (
|
||||
<BulkDeleteButton
|
||||
{...props}
|
||||
label="resources.room_directory.action.erase"
|
||||
undoable={false}
|
||||
mutationMode="pessimistic"
|
||||
confirmTitle="resources.room_directory.action.title"
|
||||
confirmContent="resources.room_directory.action.content"
|
||||
resource="room_directory"
|
||||
|
@ -315,7 +315,7 @@ const RoomBulkActionButtons = props => (
|
||||
{...props}
|
||||
confirmTitle="resources.rooms.action.erase.title"
|
||||
confirmContent="resources.rooms.action.erase.content"
|
||||
undoable={false}
|
||||
mutationMode="pessimistic"
|
||||
/>
|
||||
</Fragment>
|
||||
);
|
||||
|
@ -144,7 +144,7 @@ const UserBulkActionButtons = props => (
|
||||
{...props}
|
||||
label="resources.users.action.erase"
|
||||
confirmTitle="resources.users.helper.erase"
|
||||
undoable={false}
|
||||
mutationMode="pessimistic"
|
||||
/>
|
||||
</Fragment>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user