AdminUI equipment page: Remove reference / Delete virtual tag buttons do nothing outside the Alarms tab #832
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found during the #803 docker-dev live gate (predates it; origin
a4cdedc3). On/uns/equipment/{id}, the Tags tab's Remove (tag reference) and the virtual-tag Delete buttons appear to do nothing. The shared<RawConfirmDialog …>insrc/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/EquipmentPage.razor(~lines 317-318) sits inside theelse if (_activeTab == "alarms")branch (~260-319), so it renders only on the Alarms tab. Repro: Tags tab → Remove → nothing; switch to Alarms → the pending "Remove reference" confirm is there. Fix: render the dialog outside the tab branches; live-verify (no bUnit).Fixed (merge
2a87d96f). Pushed to master ind1b6cad2. The confirm dialog moved out of the Alarms tab, so Remove reference / Delete virtual tag work on every tab; verified live.