Use default style checkbox is not working

Created on 13 April 2023, over 1 year ago
Updated 29 September 2023, about 1 year ago

Problem/Motivation

config value use_default_styles is always executed as TRUE, so the default CSS is always loaded

Steps to reproduce

Install Cookies module
- go to /admin/config/system/cookies/config
- uncheck checkbox Styling --> Use default styles
- save and clear cache
- check if browser stops loading file /libraries/cookiesjsr/dist/cookiesjsr.min.css

Proposed resolution

Fix getter of cookies.config.use-default_styles - see patch

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇨🇿Czech Republic Jiskra

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024