issues
search
scania
/
corporate-ui
This repo will be archived in Q3 2021, please visit https://github.com/scania-digital-design-system
https://digitaldesign.scania.com/
25
stars
15
forks
source link
Added setTheme function in willLoad
#578
Closed
helloimela
closed
4 years ago
helloimela
commented
4 years ago
It will make sure to load the theme before element is rendered in the view (didLoad)
Somehow in Angular 10, the theme is not fetched from store in willLoad stage, cause it to cause error when component is rendered it cannot get correct theme styling
Solving issue
Fixes: #577
How to test
Test in Angular 9 or 10 setup
Solving issue
Fixes: #577
How to test