FIX: Cannot find currentThemeColorSchemeId when no themeId is present (#11817)

This commit is contained in:
Penar Musaraj 2021-01-22 16:27:19 -05:00 committed by GitHub
parent cd11689446
commit 73cb083b7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ export default Controller.extend({
"themeId"
)
currentSchemeCanBeSelected(userThemes, userColorSchemes, themeId) {
if (!userThemes) {
if (!userThemes || !themeId) {
return false;
}