From 487c1a58d6c05cd3d7572ccb9cadd61684d6689f Mon Sep 17 00:00:00 2001 From: Redblueflame Date: Sun, 11 Apr 2021 17:21:07 +0200 Subject: [PATCH] Fix issues (#158) * Fix accept all button simply not working * Switched privacy settings icons to a shield Fixed auth changing the theme and consent Fixed server error on log in / out * Fixed scrolling issue on mobile * Fixed GPDR concerns --- .eslintrc.js | 4 +++- assets/images/utils/shield.svg | 1 + components/ads/CookieConsent.vue | 8 ++++--- components/ads/ReviewPopup.vue | 24 -------------------- layouts/default.vue | 16 +++++++++++++- middleware/auth.js | 9 ++++---- modules/analytics/lib/templates/plugin.js | 2 -- modules/gpt-ads/lib/templates/plugin.js | 3 --- pages/dashboard.vue | 4 +++- pages/dashboard/privacy.vue | 6 +++++ store/auth.js | 27 +++++++++++++---------- 11 files changed, 52 insertions(+), 52 deletions(-) create mode 100644 assets/images/utils/shield.svg delete mode 100644 components/ads/ReviewPopup.vue diff --git a/.eslintrc.js b/.eslintrc.js index 95c13c79d..5ba5d4891 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,5 +16,7 @@ module.exports = { ], plugins: ['prettier'], // add your custom rules here - rules: {}, + rules: { + 'no-console': 'off', + }, } diff --git a/assets/images/utils/shield.svg b/assets/images/utils/shield.svg new file mode 100644 index 000000000..c7c484137 --- /dev/null +++ b/assets/images/utils/shield.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/components/ads/CookieConsent.vue b/components/ads/CookieConsent.vue index e9c939e73..216a6627b 100644 --- a/components/ads/CookieConsent.vue +++ b/components/ads/CookieConsent.vue @@ -1,6 +1,5 @@