Fix outlet selection and usage rules in new connections
This commit is contained in:
@@ -77,6 +77,9 @@ $isEndpointAllowed = static function (string $type, int $id) use ($occupiedByTyp
|
||||
if ($id <= 0) {
|
||||
return false;
|
||||
}
|
||||
if ($type === 'outlet') {
|
||||
return true;
|
||||
}
|
||||
if ($type === $portAType && $id === $portAId) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user