From 8dab05f15edd99faa0b42717ec538800edea5fd9 Mon Sep 17 00:00:00 2001 From: Oliver Pietsch Date: Tue, 4 Apr 2023 10:42:49 +0200 Subject: [PATCH] #80 Close modal in accept all --- package.json | 2 +- src/components/CookieComply.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ae328f5..750c14c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vue-cookie-comply-with-reject", "description": "A Vue 3 component to handle cookie acceptance on your website", - "version": "0.2.9", + "version": "0.2.10", "files": [ "dist" ], diff --git a/src/components/CookieComply.vue b/src/components/CookieComply.vue index 8424499..94487b0 100644 --- a/src/components/CookieComply.vue +++ b/src/components/CookieComply.vue @@ -183,6 +183,7 @@ const checkValues = (): void => { const handleAcceptAll = (): void => { + isModalOpen.value = false showCookieComply.value = false; localStorage.setItem('cookie-comply', 'all'); emit('on-accept-all-cookies');