Commit a430a771 authored by Joram Wilander's avatar Joram Wilander Committed by JoramWilander

Fix applying theme to all teams (#2162)

parent f543ff88
......@@ -309,7 +309,8 @@ function onThemeSaved(teamId, onSuccess) {
const toDelete = [];
for (const themePreference of themePreferences) {
if (themePreference.name === '' || themePreference.name === teamId) {
const name = themePreference.name;
if (name === '' || name === teamId) {
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment