Fix unused imports, coding style
This commit is contained in:
parent
a7f0708845
commit
235dee0af6
@ -7,7 +7,6 @@ import {
|
||||
BulkDeleteButton,
|
||||
DateField,
|
||||
Datagrid,
|
||||
DeleteButton,
|
||||
Filter,
|
||||
List,
|
||||
NumberField,
|
||||
@ -490,7 +489,7 @@ export const DeleteRoomButton = props => {
|
||||
onSuccess: () => {
|
||||
notify("resources.rooms.action.erase.send_success");
|
||||
handleDialogClose();
|
||||
redirect('/rooms');
|
||||
redirect("/rooms");
|
||||
},
|
||||
onFailure: () =>
|
||||
notify("resources.rooms.action.erase.send_failure", "error"),
|
||||
|
@ -181,7 +181,7 @@ const de = {
|
||||
content:
|
||||
"Sind Sie sicher dass Sie den Raum löschen möchten? Diese Aktion kann nicht rückgängig gemacht werden. Alle Nachrichten und Medien, die der Raum beinhaltet werden vom Server gelöscht!",
|
||||
fields: {
|
||||
block: "Raum für erneute Beitritte sperren",
|
||||
block: "Raum für erneute Beitritte sperren",
|
||||
},
|
||||
send_success: "Der Raum wurde gelöscht",
|
||||
send_failure: "Der Raum konnte nicht gelöscht werden",
|
||||
|
@ -179,7 +179,7 @@ const en = {
|
||||
content:
|
||||
"Are you sure you want to delete the room? This cannot be undone. All messages and shared media in the room will be deleted from the server!",
|
||||
fields: {
|
||||
block: "Block room from being rejoined",
|
||||
block: "Block room from being rejoined",
|
||||
},
|
||||
send_success: "The room has been deleted",
|
||||
send_failure: "The room could not be deleted",
|
||||
|
Loading…
Reference in New Issue
Block a user