forked from p15670423/monkey
UI: Modify RunOptions page to correctly display IPs in manual run option
This commit is contained in:
parent
860eb1b65c
commit
e2702ffacb
|
@ -23,8 +23,7 @@ function RunOptions(props) {
|
|||
if (initialized === false) {
|
||||
authComponent.authFetch(IP_ADDRESSES_URL)
|
||||
.then(res => res.json())
|
||||
.then(res => {
|
||||
let ipAddresses = res.ip_addresses;
|
||||
.then(ipAddresses => {
|
||||
setIps(ipAddresses);
|
||||
setInitialized(true);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue