Skip to content

armgit / core

Public Imported from GitHub
0

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

UI updates: minor

Rich Turnera32ed9011dc6
diff --git a/ui/app/or-app/src/pages/page-rules.ts b/ui/app/or-app/src/pages/page-rules.ts
index 25e23f0f6..ccf3ee97c 100644
--- a/ui/app/or-app/src/pages/page-rules.ts
+++ b/ui/app/or-app/src/pages/page-rules.ts
@@ -1,6 +1,6 @@
import {css, customElement, html, property} from "lit-element";
import "@openremote/or-rules";
-import {RulesConfig, ActionTargetType, AllowedActionTargetTypes, ActionType} from "@openremote/or-rules";
+import {ActionTargetType, RulesConfig} from "@openremote/or-rules";
import {AssetType, NotificationTargetType, RulesetLang} from "@openremote/model";
import {EnhancedStore} from "@reduxjs/toolkit";
import {AppStateKeyed} from "../app";
diff --git a/ui/component/or-rules/src/index.ts b/ui/component/or-rules/src/index.ts
index aacc93f24..bff0bf50e 100644
--- a/ui/component/or-rules/src/index.ts
+++ b/ui/component/or-rules/src/index.ts
@@ -94,7 +94,7 @@ export interface AssetTypeAttributeName {
}
export interface AllowedActionTargetTypes {
default?: ActionTargetType[];
- actions?: {[actionType in ActionType]: ActionTargetType[]};
+ actions?: {[actionType in ActionType]?: ActionTargetType[]};
}
export interface RulesConfig {