add the newly created client to clients list
This commit is contained in:
parent
3101858eed
commit
5d1fc30601
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ async function handleSubmit() {
|
||||||
body: formData.value,
|
body: formData.value,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
clients.value.unshift(result);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
submitting.value = false;
|
submitting.value = false;
|
||||||
|
|
Loading…
Reference in a new issue