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
show a snackbar with the number of added assets on knxproj import
Vincent0af091875a32
diff --git a/ui/component/or-asset-viewer/src/index.ts b/ui/component/or-asset-viewer/src/index.tsindex 50c527317..fffe85537 100644--- a/ui/component/or-asset-viewer/src/index.ts+++ b/ui/component/or-asset-viewer/src/index.ts@@ -411,6 +411,7 @@ export function getPanelContent(panelName: string, asset: Asset, attributes: { [if (response.status !== 200) {showSnackbar(undefined, "Something went wrong, please try again", i18next.t("dismiss"));} else {+ showSnackbar(undefined, "Import successful! Added "+response.data.length+" assets!", i18next.t("dismiss"));console.info(response.data, response) //todo: do something with this response}})