From b29fc2b7446813c7e0d979886e874afe2d03df2e Mon Sep 17 00:00:00 2001 From: vikingowl Date: Sun, 30 Jan 2022 20:28:08 +0100 Subject: [PATCH] fixed minor bug with cookie consent btn --- src/components/CookieConsentBtn.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CookieConsentBtn.vue b/src/components/CookieConsentBtn.vue index 80ac2a4..dc7f033 100644 --- a/src/components/CookieConsentBtn.vue +++ b/src/components/CookieConsentBtn.vue @@ -51,7 +51,7 @@ export default { } const hasConsentGiven = () => { - if (cookies.get('consent').toString() === 'given') + if (cookies.get('consent') === 'given') consent.value = true }