fix: Loading of new destinations
This commit is contained in:
parent
3a252509d0
commit
5cd7533972
@ -11,7 +11,9 @@
|
|||||||
let loading = false;
|
let loading = false;
|
||||||
|
|
||||||
async function handleSubmit() {
|
async function handleSubmit() {
|
||||||
|
if (loading) return;
|
||||||
try {
|
try {
|
||||||
|
loading = true;
|
||||||
await post('/new/destination/check.json', { network: payload.network });
|
await post('/new/destination/check.json', { network: payload.network });
|
||||||
const { id } = await post('/new/destination/docker.json', {
|
const { id } = await post('/new/destination/docker.json', {
|
||||||
...payload
|
...payload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user