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) {
|
if (initialized === false) {
|
||||||
authComponent.authFetch(IP_ADDRESSES_URL)
|
authComponent.authFetch(IP_ADDRESSES_URL)
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
.then(res => {
|
.then(ipAddresses => {
|
||||||
let ipAddresses = res.ip_addresses;
|
|
||||||
setIps(ipAddresses);
|
setIps(ipAddresses);
|
||||||
setInitialized(true);
|
setInitialized(true);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue