mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
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"
|
"themeId"
|
||||||
)
|
)
|
||||||
currentSchemeCanBeSelected(userThemes, userColorSchemes, themeId) {
|
currentSchemeCanBeSelected(userThemes, userColorSchemes, themeId) {
|
||||||
if (!userThemes) {
|
if (!userThemes || !themeId) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user