The collectBootstrapCookies funtion check only if cookie exist, but I'm using localstorage to store variable of the cookie plugin. I've added to check localstorage.
@@ -192,8 +192,8 @@ const UtilsFilterControl = {
}
})
- if (foundLocalStorage){
- for(var i = 0; i < foundLocalStorage.length; i++) {
+ if (foundLocalStorage) {
+ for (var i = 0; i < foundLocalStorage.length; i++) {
let cookie = foundLocalStorage.key(i)
if (/./.test(cookie)) {
cookie = cookie.split('.').pop()