Skip to content

Commit 7b98d50

Browse files
.
1 parent 18efcf0 commit 7b98d50

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

roles/lib/files/FWO.Services/ModellingConnectionHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,6 @@ public bool CalcVisibility()
10221022

10231023
public bool IsAreaForbiddenInDirection(List<ModellingNetworkArea> oppositeNetworkAreas, Direction direction)
10241024
{
1025-
10261025
return direction switch
10271026
{
10281027
Direction.Source => oppositeNetworkAreas.Count > 0,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@
550550
}
551551
if(Container.AreaElements.Count > 0)
552552
{
553-
var bla = ConnHandler.IsAreaForbiddenInDirection(Container.AreaElements, Direction.Destination);
553+
//var bla = ConnHandler.IsAreaForbiddenInDirection(, Direction.Destination);
554554
555555
if (ConnHandler is not null && !ConnHandler.NetworkAreaUseAllowed(Container.AreaElements, Direction.Destination, out (string Title, string Text) reason))
556556
{

0 commit comments

Comments
 (0)