Skip to content

armgit / core

Public Imported from GitHub
0

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

fix group name

Vincent70a8a7d91230
diff --git a/deployment/manager/shared/locales/en/or.json b/deployment/manager/shared/locales/en/or.json
index fede28f8b..17934f049 100644
--- a/deployment/manager/shared/locales/en/or.json
+++ b/deployment/manager/shared/locales/en/or.json
@@ -139,6 +139,7 @@
"matched": "Matched",
"unmatched": "Unmatched",
"wait": "Wait",
+ "group": "Underlying assets",
"history": "History",
"attributes": "Attributes",
"info": "Info",
diff --git a/deployment/manager/shared/locales/nl/or.json b/deployment/manager/shared/locales/nl/or.json
index ee167bd17..e088ee638 100644
--- a/deployment/manager/shared/locales/nl/or.json
+++ b/deployment/manager/shared/locales/nl/or.json
@@ -139,6 +139,7 @@
"matched": "Dezelfde",
"unmatched": "Niet dezelfde",
"wait": "Wacht",
+ "group": "Onderliggende assets",
"history": "Geschiedenis",
"attributes": "Attributen",
"info": "Info",
diff --git a/ui/component/or-asset-viewer/src/index.ts b/ui/component/or-asset-viewer/src/index.ts
index 32dba613d..debc9aadd 100644
--- a/ui/component/or-asset-viewer/src/index.ts
+++ b/ui/component/or-asset-viewer/src/index.ts
@@ -108,12 +108,12 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElem
},
panels: {
- "underlying assets": {
+ group: {
type: "group",
include: ["userNotes", "childAssetType"],
panelStyles: {}
},
- "info": {
+ info: {
type: "attribute",
hideOnMobile: true,
include: ["userNotes", "manufacturer", "model"],
@@ -130,7 +130,7 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElem
}
}
},
- "location": {
+ location: {
type: "location",
include: ["location"],
panelStyles: {
@@ -140,17 +140,17 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElem
}
}
},
- "attributes": {
+ attributes: {
type: "attribute",
panelStyles: {
}
},
- "history": {
+ history: {
type: "history",
panelStyles: {
}
},
- "chart": {
+ chart: {
type: "chart",
hideOnMobile: true,
panelStyles: {