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
UI fix: or-asset-viewer locked after failing to save an asset (#1811)
Ekhorn4394e78648bd
diff --git a/ui/component/or-asset-viewer/src/index.ts b/ui/component/or-asset-viewer/src/index.tsindex 7a8660ef1..51b0d57cc 100644--- a/ui/component/or-asset-viewer/src/index.ts+++ b/ui/component/or-asset-viewer/src/index.ts@@ -1479,12 +1479,12 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElem} catch (e) {// We can ignore this as it should indicate that the asset has changed}- this.wrapperElem?.classList.remove("saving");if (this.saveBtnElem) {this.saveBtnElem.disabled = false;}}this._saveInProgress = false;+ this.wrapperElem?.classList.remove("saving");this.dispatchEvent(new OrAssetViewerSaveEvent(saveResult));}