From e372c04d35303802a08bb67d893ae8c2b27c4804 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 26 Feb 2024 11:28:03 -0300 Subject: [PATCH] change variable name --- src/components/FormModel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 00703d516..50cdf9ee3 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -100,7 +100,7 @@ onUnmounted(() => { state.set($props.model, originalData.value); return; } - if ($props.clearStoreDataOnUnmount) state.unset($props.model); + if ($props.clearStoreOnUnmount) state.unset($props.model); }); const isLoading = ref(false);