Skip to content

armgit / core

Public Imported from GitHub
0

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

Minor UI updates

Rich Turner45c1a73c3e3c
diff --git a/ui/app/smart-building/package.json b/ui/app/smart-building/package.json
index 606b7e4eb..388823e63 100644
--- a/ui/app/smart-building/package.json
+++ b/ui/app/smart-building/package.json
@@ -7,9 +7,11 @@
"license": "AGPL-3.0-or-later",
"scripts": {
"clean": "npx shx rm -rf dist",
- "build": "node ../../model-build.js && npx tsc -b && npx cross-env NODE_ENV=production webpack",
- "serve": "node ../../model-build.js && npx tsc -b && npx webpack-dev-server",
- "watch": "node ../../model-build.js && npx tsc -b -w",
+ "modelBuild": "node ../../model-build.js",
+ "modelWatch": "node ../../model-watch.js",
+ "build": "npx tsc -b && npx cross-env NODE_ENV=production webpack",
+ "serve": "npx webpack-dev-server",
+ "watch": "npx tsc -b -w",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
diff --git a/ui/component/or-rules-editor/src/or-rule-when-condition/index.ts b/ui/component/or-rules-editor/src/or-rule-when-condition/index.ts
index 070e31584..f87e535d1 100644
--- a/ui/component/or-rules-editor/src/or-rule-when-condition/index.ts
+++ b/ui/component/or-rules-editor/src/or-rule-when-condition/index.ts
@@ -156,8 +156,7 @@ class OrRuleWhenCondition extends LitElement {
if (this.predicate && this.predicate.name) {
this.predicate.name.value = value;
- this.setOperator(e);
- this.requestUpdate();
+ this.requestUpdate();
}
}