Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Fix for realm color not working on appearance page. (#1292)

Martin Peetersac64aaf9338b
diff --git a/ui/app/manager/src/components/configuration/or-conf-realm/or-conf-realm-card.ts b/ui/app/manager/src/components/configuration/or-conf-realm/or-conf-realm-card.ts
index d91487535..2e51ad2e8 100644
--- a/ui/app/manager/src/components/configuration/or-conf-realm/or-conf-realm-card.ts
+++ b/ui/app/manager/src/components/configuration/or-conf-realm/or-conf-realm-card.ts
@@ -183,7 +183,8 @@ export class OrConfRealmCard extends LitElement {
Object.entries(colors).forEach(([key, value]) => {
css += key +":" +value + ";"
})
- this.realm.styles = css
+ css += "}";
+ this.realm.styles = css;
this.notifyConfigChange(this.realm);
}