File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
ui/files/FWO.UI/Pages/NetworkModelling Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1043,9 +1043,7 @@ public bool NetworkAreaUseAllowed(ModellingDnDContainer modellingContainer)
10431043 return false ;
10441044 }
10451045 private bool HasCommonNetworkAreas ( List < ModellingNetworkArea > networkAreas )
1046- {
1047- CommonAreaConfigItems . Add ( new ( ) { AreaId = 1 } ) ;
1048-
1046+ {
10491047 foreach ( ModellingNetworkArea area in networkAreas )
10501048 {
10511049 if ( CommonAreaConfigItems . Any ( _ => _ . AreaId == area . Id ) )
Original file line number Diff line number Diff line change 487487
488488 private async Task HandleSrcDrop ()
489489 {
490- Container .AreaElements .Add (new (){ Id = 1 });
491-
492490 if (ConnHandler .NetworkAreaUseAllowed (Container ))
493491 {
494492
529527
530528 private async Task HandleDstDrop ()
531529 {
530+ if (ConnHandler .NetworkAreaUseAllowed (Container ))
531+ {
532+
533+ }
534+
532535 if (Container .ConnElement != null )
533536 {
534537 if (ConnHandler ! .ActConn .IsInterface )
You can’t perform that action at this time.
0 commit comments