From d2c1a1c6a6b525ccbd0a0edcfb59f6f2f8de32f8 Mon Sep 17 00:00:00 2001 From: Biagio Ruggiero Date: Wed, 29 May 2024 16:08:22 +0200 Subject: [PATCH] Fix unneeded selectedItem clean up (#40) * Fix unneeded selectedItem clean up * Version bumb --- package.json | 2 +- src/components/VLCrud/VLCrud.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 12c1b26..a15f871 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@skillbill/vuelace-3", - "version": "1.1.3", + "version": "1.1.4", "private": false, "author": "skillbill", "license": "MIT", diff --git a/src/components/VLCrud/VLCrud.vue b/src/components/VLCrud/VLCrud.vue index 291a5dc..0a62edc 100644 --- a/src/components/VLCrud/VLCrud.vue +++ b/src/components/VLCrud/VLCrud.vue @@ -237,7 +237,6 @@ const lastEditedItem = ref(null) const onConfirm = async () => { lastEditedItem.value = selectedItem.value?.[props.primary_key] await fetchData() - selectedItem.value = null } const onAdd = async (data: any) => {