Fix unused imports, coding style
This commit is contained in:
parent
a7f0708845
commit
235dee0af6
@ -7,7 +7,6 @@ import {
|
|||||||
BulkDeleteButton,
|
BulkDeleteButton,
|
||||||
DateField,
|
DateField,
|
||||||
Datagrid,
|
Datagrid,
|
||||||
DeleteButton,
|
|
||||||
Filter,
|
Filter,
|
||||||
List,
|
List,
|
||||||
NumberField,
|
NumberField,
|
||||||
@ -490,7 +489,7 @@ export const DeleteRoomButton = props => {
|
|||||||
onSuccess: () => {
|
onSuccess: () => {
|
||||||
notify("resources.rooms.action.erase.send_success");
|
notify("resources.rooms.action.erase.send_success");
|
||||||
handleDialogClose();
|
handleDialogClose();
|
||||||
redirect('/rooms');
|
redirect("/rooms");
|
||||||
},
|
},
|
||||||
onFailure: () =>
|
onFailure: () =>
|
||||||
notify("resources.rooms.action.erase.send_failure", "error"),
|
notify("resources.rooms.action.erase.send_failure", "error"),
|
||||||
|
@ -181,7 +181,7 @@ const de = {
|
|||||||
content:
|
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!",
|
"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: {
|
fields: {
|
||||||
block: "Raum für erneute Beitritte sperren",
|
block: "Raum für erneute Beitritte sperren",
|
||||||
},
|
},
|
||||||
send_success: "Der Raum wurde gelöscht",
|
send_success: "Der Raum wurde gelöscht",
|
||||||
send_failure: "Der Raum konnte nicht gelöscht werden",
|
send_failure: "Der Raum konnte nicht gelöscht werden",
|
||||||
|
@ -179,7 +179,7 @@ const en = {
|
|||||||
content:
|
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!",
|
"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: {
|
fields: {
|
||||||
block: "Block room from being rejoined",
|
block: "Block room from being rejoined",
|
||||||
},
|
},
|
||||||
send_success: "The room has been deleted",
|
send_success: "The room has been deleted",
|
||||||
send_failure: "The room could not be deleted",
|
send_failure: "The room could not be deleted",
|
||||||
|
Loading…
Reference in New Issue
Block a user