From 2f173ac2e79a6dd545a70da2c52448ae08a81220 Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 5 Jul 2024 13:35:45 +0200 Subject: [PATCH] refactor: refs #6896 requested changes & deleted basicData and Lines warnings --- src/pages/Order/Card/OrderForm.vue | 9 ++++----- src/pages/Order/OrderLines.vue | 3 ++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/Order/Card/OrderForm.vue b/src/pages/Order/Card/OrderForm.vue index 41c536326..43a9b2e57 100644 --- a/src/pages/Order/Card/OrderForm.vue +++ b/src/pages/Order/Card/OrderForm.vue @@ -107,8 +107,8 @@ const onClientChange = async (clientId) => { } }; -async function onDataSaved(data) { - await router.push({ path: `/order/${data.id}/catalog` }); +async function onDataSaved(id) { + await router.push({ path: `/order/${id}/catalog` }); } @@ -117,7 +117,7 @@ async function onDataSaved(data) {