From 5d1fc30601c57dd9384736e3724db5361fa4d823 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Tue, 12 Dec 2023 19:18:13 +0100 Subject: [PATCH] add the newly created client to clients list --- pages/clients.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/clients.vue b/pages/clients.vue index d462765..f85620e 100644 --- a/pages/clients.vue +++ b/pages/clients.vue @@ -97,6 +97,7 @@ async function handleSubmit() { body: formData.value, }, ); + clients.value.unshift(result); } catch (e) { console.error(e); submitting.value = false;