mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2024-11-08 15:54:51 +00:00
replace undoable
prop with mutationMode
prop (#202)
This commit is contained in:
parent
a5c7d7dd22
commit
4adc20f80d
3 changed files with 3 additions and 3 deletions
|
@ -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 a new issue