fixes #117, fetch blocked if upload failed

This commit is contained in:
byte[] 2020-05-13 14:05:47 -04:00
parent 53ad9dd139
commit 6a708f11b6

View file

@ -111,6 +111,12 @@ function setupImageUpload() {
disableFetch(); disableFetch();
} }
}); });
if(remoteUrl.value.length > 0) {
enableFetch();
} else {
disableFetch();
}
} }
export { setupImageUpload }; export { setupImageUpload };