mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 14:03:02 +00:00
Changed error to alert.alert-danger
This commit is contained in:
@@ -128,10 +128,8 @@ const GroupEdit = (props) => {
|
||||
}
|
||||
|
||||
if (hasDuplicates(propkeys) == true) {
|
||||
error.textContent = "Duplicate key found!";
|
||||
error.style.color = "red";
|
||||
setErrorAlert(`Duplicate keys found!`)
|
||||
} else {
|
||||
//error.textContent = "";
|
||||
propkeys.forEach((key, i) => (propobject[key] = propvalues[i]));
|
||||
}
|
||||
if (
|
||||
|
Reference in New Issue
Block a user