beyonk-group / gdpr-cookie-consent-banner

A GDPR compliant cookie consent banner implementation
MIT License
251 stars 42 forks source link

The configuration is not working as documented. #21

Closed inc-ali closed 3 years ago

inc-ali commented 3 years ago

The configuration says:

If you don't want to show a category, simply remove the specified key from this object.

But removing the key, e.g. marketing from the object simply leads to the cookie banner displaying the default values.

To not show the category, e.g. marketing you have to set the value to false, e.g.

marketing: false

I can offer a PR, but this is just a one-liner.

antony commented 3 years ago

Hey @inc-ali - if you don't mind opening a PR that would be great :)

It's a one-liner but I'm across a lot of things right now so it's a context switch :D

antony commented 3 years ago

Thanks for your PR!