Skip to content

Commit 770b4c7

Browse files
Merge pull request CactuseSecurity#4271 from SolidProgramming/issue_4244
fix(UI): ToggleDelete in EditList not always working (in Modelling)
2 parents 5eef917 + b523663 commit 770b4c7

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

roles/ui/files/FWO.UI/Pages/NetworkModelling/EditConn.razor

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -186,35 +186,35 @@
186186
ElementsToAdd="ConnHandler.SrcAreasToAdd" ElementsToDelete="ConnHandler.SrcAreasToDelete" StdLayout="false"
187187
AfterRemoveAction="() => {ConnHandler.CalcVisibility(); StateHasChanged(); return true;}">
188188
<Display>
189-
<div class="row">
190-
<div class="ml-13 col-sm-12 border form-control form-control-sm bg-transparent">@((MarkupString)context.DisplayWithIcon())</div>
189+
<div class="row mx-0">
190+
<div class="form-control-sm">@((MarkupString)context.DisplayWithIcon())</div>
191191
</div>
192192
</Display>
193193
</EditList>
194194
<EditList ElementType="ModellingNwGroup" Elements="ModellingNwGroupWrapper.Resolve(ConnHandler.ActConn.SourceOtherGroups)"
195195
ElementsToAdd="ConnHandler.SrcNwGroupsToAdd" ElementsToDelete="ConnHandler.SrcNwGroupsToDelete" StdLayout="false"
196196
AfterRemoveAction="() => {ConnHandler.CalcVisibility(); StateHasChanged(); return true;}">
197197
<Display>
198-
<div class="row">
199-
<div class="ml-13 col-sm-12 border form-control form-control-sm bg-transparent">@((MarkupString)context.DisplayWithIcon())</div>
198+
<div class="row mx-0">
199+
<div class="form-control-sm">@((MarkupString)context.DisplayWithIcon())</div>
200200
</div>
201201
</Display>
202202
</EditList>
203203
<EditList ElementType="ModellingAppRole" Elements="ModellingAppRoleWrapper.Resolve(ConnHandler.ActConn.SourceAppRoles.Where(x => x.Content.Id != ConnHandler.DummyAppRole.Id).ToList())"
204204
ElementsToAdd="ConnHandler.SrcAppRolesToAdd" ElementsToDelete="ConnHandler.SrcAppRolesToDelete" StdLayout="false"
205205
AfterRemoveAction="() => {ConnHandler.CalcVisibility(); StateHasChanged(); return true;}">
206206
<Display>
207-
<div class="row">
208-
<div class="ml-13 col-sm-12 border form-control form-control-sm bg-transparent">@((MarkupString)context.DisplayWithIcon())</div>
207+
<div class="row mx-0">
208+
<div class="form-control-sm">@((MarkupString)context.DisplayWithIcon())</div>
209209
</div>
210210
</Display>
211211
</EditList>
212212
<EditList ElementType="ModellingAppServer" Elements="ModellingAppServerWrapper.Resolve(ConnHandler.ActConn.SourceAppServers)"
213213
ElementsToAdd="ConnHandler.SrcAppServerToAdd" ElementsToDelete="ConnHandler.SrcAppServerToDelete" StdLayout="false"
214214
AfterRemoveAction="() => {ConnHandler.CalcVisibility(); StateHasChanged(); return true;}">
215215
<Display>
216-
<div class="row">
217-
<div class="ml-13 col-sm-12 border form-control form-control-sm bg-transparent">@((MarkupString)context.DisplayWithIcon())</div>
216+
<div class="row mx-0">
217+
<div class="form-control-sm">@((MarkupString)context.DisplayWithIcon())</div>
218218
</div>
219219
</Display>
220220
</EditList>
@@ -262,17 +262,17 @@
262262
ElementsToAdd="ConnHandler.SvcGrpToAdd" ElementsToDelete="ConnHandler.SvcGrpToDelete" StdLayout="false"
263263
AfterRemoveAction="() => {ConnHandler.CalcVisibility(); StateHasChanged(); return true;}">
264264
<Display>
265-
<div class="row">
266-
<div class="ml-13 col-sm-12 border form-control form-control-sm bg-transparent">@((MarkupString)context.DisplayWithIcon())</div>
265+
<div class="row mx-0">
266+
<div class="form-control-sm">@((MarkupString)context.DisplayWithIcon())</div>
267267
</div>
268268
</Display>
269269
</EditList>
270270
<EditList ElementType="ModellingService" Elements="ModellingServiceWrapper.Resolve(ConnHandler.ActConn.Services)"
271271
ElementsToAdd="ConnHandler.SvcToAdd" ElementsToDelete="ConnHandler.SvcToDelete" StdLayout="false"
272272
AfterRemoveAction="() => {ConnHandler.CalcVisibility(); StateHasChanged(); return true;}">
273273
<Display>
274-
<div class="row">
275-
<div class="ml-13 col-sm-12 border form-control form-control-sm bg-transparent">@((MarkupString)context.DisplayWithIcon())</div>
274+
<div class="row mx-0">
275+
<div class="form-control-sm">@((MarkupString)context.DisplayWithIcon())</div>
276276
</div>
277277
</Display>
278278
</EditList>
@@ -340,35 +340,35 @@
340340
ElementsToAdd="ConnHandler.DstNwGroupsToAdd" ElementsToDelete="ConnHandler.DstNwGroupsToDelete" StdLayout="false"
341341
AfterRemoveAction="() => {ConnHandler.CalcVisibility(); StateHasChanged(); return true;}">
342342
<Display>
343-
<div class="row">
344-
<div class="ml-13 col-sm-12 border form-control form-control-sm bg-transparent">@((MarkupString)context.DisplayWithIcon())</div>
343+
<div class="row mx-0">
344+
<div class="form-control-sm">@((MarkupString)context.DisplayWithIcon())</div>
345345
</div>
346346
</Display>
347347
</EditList>
348348
<EditList ElementType="ModellingNetworkArea" Elements="ModellingNetworkAreaWrapper.Resolve(ConnHandler.ActConn.DestinationAreas)"
349349
ElementsToAdd="ConnHandler.DstAreasToAdd" ElementsToDelete="ConnHandler.DstAreasToDelete" StdLayout="false"
350350
AfterRemoveAction="() => {ConnHandler.CalcVisibility(); StateHasChanged(); return true;}">
351351
<Display>
352-
<div class="row">
353-
<div class="ml-13 col-sm-12 border form-control form-control-sm bg-transparent">@((MarkupString)context.DisplayWithIcon())</div>
352+
<div class="row mx-0">
353+
<div class="form-control-sm">@((MarkupString)context.DisplayWithIcon())</div>
354354
</div>
355355
</Display>
356356
</EditList>
357357
<EditList ElementType="ModellingAppRole" Elements="ModellingAppRoleWrapper.Resolve(ConnHandler.ActConn.DestinationAppRoles.Where(x => x.Content.Id != ConnHandler.DummyAppRole.Id).ToList())"
358358
ElementsToAdd="ConnHandler.DstAppRolesToAdd" ElementsToDelete="ConnHandler.DstAppRolesToDelete" StdLayout="false"
359359
AfterRemoveAction="() => {ConnHandler.CalcVisibility(); StateHasChanged(); return true;}">
360360
<Display>
361-
<div class="row">
362-
<div class="ml-13 col-sm-12 border form-control form-control-sm bg-transparent">@((MarkupString)context.DisplayWithIcon())</div>
361+
<div class="row mx-0">
362+
<div class="form-control-sm">@((MarkupString)context.DisplayWithIcon())</div>
363363
</div>
364364
</Display>
365365
</EditList>
366366
<EditList ElementType="ModellingAppServer" Elements="ModellingAppServerWrapper.Resolve(ConnHandler.ActConn.DestinationAppServers)"
367367
ElementsToAdd="ConnHandler.DstAppServerToAdd" ElementsToDelete="ConnHandler.DstAppServerToDelete" StdLayout="false"
368368
AfterRemoveAction="() => {ConnHandler.CalcVisibility(); StateHasChanged(); return true;}">
369369
<Display>
370-
<div class="row">
371-
<div class="ml-13 col-sm-12 border form-control form-control-sm bg-transparent">@((MarkupString)context.DisplayWithIcon())</div>
370+
<div class="row mx-0">
371+
<div class="form-control-sm">@((MarkupString)context.DisplayWithIcon())</div>
372372
</div>
373373
</Display>
374374
</EditList>

0 commit comments

Comments
 (0)