FIX: Cannot find currentThemeColorSchemeId when no themeId is present (#11817)
This commit is contained in:
parent
cd11689446
commit
73cb083b7b
|
@ -153,7 +153,7 @@ export default Controller.extend({
|
|||
"themeId"
|
||||
)
|
||||
currentSchemeCanBeSelected(userThemes, userColorSchemes, themeId) {
|
||||
if (!userThemes) {
|
||||
if (!userThemes || !themeId) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue