fix(Signatures): small wh size is now passed from signature to connection

This commit is contained in:
alpha02x
2025-05-28 07:52:46 +00:00
parent 4d4431868e
commit 54d1691d19
2 changed files with 3 additions and 3 deletions

View File

@@ -146,7 +146,7 @@ export const SystemLinkSignatureDialog = ({ data, setVisible }: SystemLinkSignat
}
const whShipSize = getWhSize(wormholes, signature.type);
if (whShipSize) {
if (whShipSize !== undefined && whShipSize !== null) {
await outCommand({
type: OutCommand.updateConnectionShipSizeType,
data: {

View File

@@ -67,8 +67,8 @@ export const SignatureSettings = ({ systemId, show, onHide, signatureData }: Map
if (values.type) {
const whShipSize = getWhSize(wormholes, values.type);
if (whShipSize) {
outCommand({
if (whShipSize !== undefined && whShipSize !== null) {
await outCommand({
type: OutCommand.updateConnectionShipSizeType,
data: {
source: systemId,