OFFLINE-GmbH / oc-gdpr-plugin

October CMS plugin to make websites GDPR and ePrivacy compliant
https://octobercms.com/plugin/offline-gdpr
MIT License
36 stars 20 forks source link

Apps default state always false #3

Closed damsfx closed 6 years ago

damsfx commented 6 years ago

Hi,

Applications default state is always set to false even if you set it to true in plugin settings.

In app.js component's partial, line 5 :

            default: {{ app.default ? 'true' : 'false' }},

must become

            default: {{ app.application_state ? 'true' : 'false' }},

Thank's for plugin ! 👍

tobias-kuendig commented 6 years ago

Good catch! Fixed in 1c8783e.