Open patoperpetua opened 2 years ago
I think the problem may come from the file App.js
setOption = (option, value) => { let options = this.state.options; if (typeof value === 'boolean') { options[option] = value; } else if (typeof value === 'string') { if (value.length === 0) { options[option] = []; } else { options[option] = value.split(';'); } <<<<<<<<<<<<<<<<< a missing condition when the value provided is undefined }
When pushing undefined values for a published key, the values does not refresh. When going to gtm console it shows the values correctly but the plugin does not update state when sending undefined values