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