Skip to content

Commit

Permalink
Merge pull request #81 from gluebi/80-settings-modal-is-not-closed-wh…
Browse files Browse the repository at this point in the history
…en-saving

#80 Close modal in accept all
  • Loading branch information
gluebi authored Apr 4, 2023
2 parents 48475a6 + 8dab05f commit 60f5f1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
],
Expand Down
1 change: 1 addition & 0 deletions src/components/CookieComply.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 60f5f1a

Please sign in to comment.