@page "/clusters/{ClusterId}/draft/{GenerationId:long}/diff" @using ZB.MOM.WW.OtOpcUa.Admin.Services @using ZB.MOM.WW.OtOpcUa.Configuration.Entities @using ZB.MOM.WW.OtOpcUa.Configuration.Enums @inject GenerationService GenerationSvc
@ClusterId — from last published (@(_fromLabel)) → to draft @GenerationId
Computing diff…
} else if (_error is not null) {No differences — draft is structurally identical to the last published generation.
} else {@_rows.Count row@(_rows.Count == 1 ? "" : "s") across @_sectionsWithChanges of @Sections.Count sections. Each section is capped at @DiffSection.DefaultRowCap rows to keep the browser responsive on pathological drafts.
@foreach (var sec in Sections) {