mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 10:48:26 +00:00
Fix error displaying when editing groups/clients/domains/lists (#2808)
This commit is contained in:
@@ -113,7 +113,8 @@ function showAlert(type, icon, title, message) {
|
||||
break;
|
||||
case "error":
|
||||
options.icon = "fas fa-times";
|
||||
options.title = " <strong>Error, something went wrong!</strong><br>";
|
||||
if (title.length === 0)
|
||||
options.title = " <strong>Error, something went wrong!</strong><br>";
|
||||
settings.delay *= 2;
|
||||
|
||||
// If the message is an API object, nicely format the error message
|
||||
|
||||
Reference in New Issue
Block a user