Added swarm auto setup to orborus

This commit is contained in:
frikky
2022-01-01 23:17:35 +01:00
parent 5342a19e38
commit a2e00f992a
5 changed files with 161 additions and 6 deletions
+6 -2
View File
@@ -560,11 +560,15 @@ const Admin = (props) => {
if (responseJson.reason !== undefined) {
alert.error(responseJson.reason);
} else {
alert.error("Failed creating suborg");
alert.error("Failed creating suborg. Please try again");
}
} else {
alert.success("Successfully created suborg!");
alert.success("Successfully created suborg. Reloading in 3 seconds!");
setSelectedUserModalOpen(false);
setTimeout(() => {
window.location.reload()
}, 2500);
}
setOrgName("");