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) => {
|
||||
e.preventDefault();
|
||||
let formData = new FormData(form);
|
||||
showSpinner();
|
||||
fetch(flowBodyUrl, {
|
||||
method: 'post',
|
||||
body: formData,
|
||||
|
|
Reference in New Issue