Skip to content

armgit / core

Public Imported from GitHub
0

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

Fixed naming errors

Michael Rademakerc67d767d89ab
diff --git a/ui/component/or-rules-editor/src/const/attribute-descriptors.ts b/ui/component/or-rules-editor/src/const/attribute-descriptors.ts
index 5f1b38805..1c455c612 100644
--- a/ui/component/or-rules-editor/src/const/attribute-descriptors.ts
+++ b/ui/component/or-rules-editor/src/const/attribute-descriptors.ts
@@ -186,7 +186,7 @@ export const attributeDescriptors: any[] = [ {
name: "STRING"
}
}, {
- attributeName: "airportIata",
+ attributeName: "departureAirportIata",
metaItemDescriptors : [ ],
valueDescriptor : {
icon : "file-text-o",
diff --git a/ui/component/or-rules-editor/src/const/rule-config.ts b/ui/component/or-rules-editor/src/const/rule-config.ts
index 449b0e689..e6defa0a7 100644
--- a/ui/component/or-rules-editor/src/const/rule-config.ts
+++ b/ui/component/or-rules-editor/src/const/rule-config.ts
@@ -21,7 +21,7 @@ export const rulesEditorConfig = {
options: {
when: {
attributeValueDescriptors: {
- airportIata: {
+ departureAirportIata: {
options: airports
},
airlineIata: {