We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1d62c1 commit fbc0278Copy full SHA for fbc0278
roles/lib/files/FWO.Services/ModellingConnectionHandler.cs
@@ -10,6 +10,7 @@
10
using FWO.Middleware.Client;
11
using System.Data;
12
using Microsoft.AspNetCore.Components;
13
+using static FWO.Data.Modelling.ModellingTypes;
14
15
16
namespace FWO.Services
@@ -1021,6 +1022,8 @@ public bool CalcVisibility()
1021
1022
1023
private bool IsAreaForbiddenInDirection(Direction direction)
1024
{
1025
+ var areas = AvailableSelectedObjects.Where(_ => _.Content.GroupType == (int)ModObjectType.NetworkArea).ToList();
1026
+
1027
return direction switch
1028
1029
Direction.Source => ActConn.DestinationAreas.Count > 0,
0 commit comments