mirror of
https://github.com/pi-hole/web.git
synced 2026-04-19 08:19:59 +01:00
Merge pull request #1600 from rickbau5/fix/enable-ui-elements
Fix UI Remaining Disabled in Groups & Adlists Pages
This commit is contained in:
@@ -135,6 +135,8 @@ function addGroup() {
|
||||
utils.showAlert("info", "", "Adding group...", name);
|
||||
|
||||
if (name.length === 0) {
|
||||
// enable the ui elements again
|
||||
utils.enableAll();
|
||||
utils.showAlert("warning", "", "Warning", "Please specify a group name");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user