- Issue created by @stolzenhain
- 🇯🇵Japan neptune-dc
Problem is in CDN content: /libraries/cookiesjsr/dist/cookiesjsr.min.css: {}
It treats always on cookies as any service that does not need consent with the variable `service.needConsent`.
```javascript
// cookiesjsr/src/components/layer/SingleService.svelte{ service.name }
{#if service.needConsent}
title={$services[service.key] ? t('allowed') : t('denied')}
activated={$services[service.key]}
changed={setConsent} />
{:else}{t('alwaysActive')}{/if}
```
However, it does not consider `service.needConsent` when saving:
```javascript
import StoreCookieService from '../../services/StoreCookieService.js'; import BaseButton from './BaseButton.svelte' import {services, setAllServices, closeBanner, closeLayer} from "../../store.js"; export let btnType = ''; export let setAll = false; function setAllSaveAndClose() { let servicesState = {...$services}; for (let id in servicesState) { if (typeof servicesState[id] !== 'undefined') { servicesState[id] = setAll; } } StoreCookieService.setServices(servicesState); setAllServices(servicesState); closeBanner(); closeLayer(); }clicked="{setAllSaveAndClose}"
btnType="{btnType}">
```Since the problem is in the CDN, I don't think this can be solved with a patch.