Skip to content

armgit / core

Public Imported from GitHub
0

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

this should not be deleted

Vincent1195c1cad05f
diff --git a/ui/component/or-asset-viewer/src/index.ts b/ui/component/or-asset-viewer/src/index.ts
index fa29bc76d..49a36ffd5 100644
--- a/ui/component/or-asset-viewer/src/index.ts
+++ b/ui/component/or-asset-viewer/src/index.ts
@@ -661,11 +661,6 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElem
<span><or-translate id="${panelName}-attribute-table-msg" value="loading"></or-translate></span>
<or-mwc-dialog id="${panelName}-attribute-modal" dialogTitle="addRemoveAttributes" .dialogActions="${attributePickerModalActions}"></or-mwc-dialog>
`;
-
- } else if (panelConfig && panelConfig.type === "attribute") {
- if (asset.type !== "urn:openremote:asset:group") {
- return;
- }
} else {
if(attrs.length === 0) {
return undefined;