Skip to content

Commit

Permalink
fix: don't open modal, if cookies are consented
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshito-maeoka authored and dargmuesli committed Mar 28, 2023
1 parent 4088c3b commit 2740b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/CookieControl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ onBeforeMount(() => {
}
}
if (moduleOptions.isForcedModal) {
if (moduleOptions.isForcedModal && !isConsentGiven.value) {
isModalActive.value = true;
}
})
Expand Down

0 comments on commit 2740b35

Please sign in to comment.