Problem/Motivation

The module tries to load a css file via hook_library_info_alter even if a style is not selected. This results in an error, see the screenshot.

Proposed resolution

Check if the config entry isn't null before trying to load the css file.

Comments

alecsmrekar created an issue. See original summary.

alecsmrekar’s picture

Status: Active » Needs review
StatusFileSize
new986 bytes
alecsmrekar’s picture

Issue summary: View changes
plach’s picture

Status: Needs review » Reviewed & tested by the community

Looks good and works well!

usingsession’s picture

Status: Reviewed & tested by the community » Fixed

@alecsmrekar thanks for patch, good job :-)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.