Add finished

This commit is contained in:
philipp lang 2024-04-08 21:05:18 +02:00
parent 76186770b5
commit b59bc28f64
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ const {resolveComponentName} = useFields();
async function submit() { async function submit() {
try { try {
await axios.post('/api/form/' + props.formId + '/register', payload.value); await axios.post('/api/form/' + props.formId + '/register', payload.value);
finished.value = true;
} catch (e) { } catch (e) {
errorFromResponse(e); errorFromResponse(e);
} }