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