100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Add trigger assets to notification
robindekkersf9229e6990d1
diff --git a/ui/component/or-rules/src/json-viewer/or-rule-action-notification.ts b/ui/component/or-rules/src/json-viewer/or-rule-action-notification.tsindex 4ba68475c..eed20beab 100644--- a/ui/component/or-rules/src/json-viewer/or-rule-action-notification.ts+++ b/ui/component/or-rules/src/json-viewer/or-rule-action-notification.ts@@ -56,7 +56,7 @@ export class OrRuleActionNotification extends LitElement {message: {type: "email",subject: "%RULESET_NAME%",- html: "TEST",+ html: "%TRIGGER_ASSETS%",from: {address:"[email protected]"},to: []}diff --git a/ui/component/or-rules/src/json-viewer/or-rule-then-otherwise.ts b/ui/component/or-rules/src/json-viewer/or-rule-then-otherwise.tsindex d7b15a66a..4b5ade64a 100644--- a/ui/component/or-rules/src/json-viewer/or-rule-then-otherwise.ts+++ b/ui/component/or-rules/src/json-viewer/or-rule-then-otherwise.ts@@ -9,7 +9,7 @@ import {import {OrRulesJsonRuleChangedEvent} from "./or-rule-json-viewer";-import {AssetDescriptor, JsonRule, RuleActionUnion} from "@openremote/model";+import {AssetDescriptor, JsonRule, RuleActionUnion, RuleActionNotification} from "@openremote/model";import i18next from "i18next";import {InputType} from "@openremote/or-input";import {MenuItem} from "@openremote/or-mwc-components/dist/or-mwc-menu";