uPortal-Project/notification-web-components

notification-list: component doesn't fall back to DEFAULT_COLOR_MAP when color-map is not specified

Closed this issue · 0 comments

When color-map is not specified, the notification-list component does not fall back to DEFAULT_COLOR_MAP.

[Vue warn]: Invalid prop: type check failed for prop "colorMap". Expected String with value "[object Object]", got Object 

[Vue warn]: Error in render: "SyntaxError: JSON.parse: unexpected character at line 1 column 2 of the JSON data"

SyntaxError: "JSON.parse: unexpected character at line 1 column 2 of the JSON data"