flows: fix shell not showing spinner after submit
This commit is contained in:
parent
ddb0fdee98
commit
a9b5e6ea13
|
@ -137,6 +137,7 @@ const setFormSubmitHandlers = () => {
|
||||||
form.addEventListener('submit', (e) => {
|
form.addEventListener('submit', (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
let formData = new FormData(form);
|
let formData = new FormData(form);
|
||||||
|
showSpinner();
|
||||||
fetch(flowBodyUrl, {
|
fetch(flowBodyUrl, {
|
||||||
method: 'post',
|
method: 'post',
|
||||||
body: formData,
|
body: formData,
|
||||||
|
|
Reference in New Issue