Fix linting

This commit is contained in:
guerler
2023-01-26 15:09:09 -05:00
parent bf1938b107
commit ec7b8b0140
2 changed files with 7 additions and 3 deletions
@@ -25,7 +25,11 @@
</b-button>
</div>
</b-tab>
<b-tab v-if="(!result['conversion_disable'] || !result['datatype_disable']) && !result['metadata_disable']">
<b-tab
v-if="
(!result['conversion_disable'] || !result['datatype_disable']) &&
!result['metadata_disable']
">
<template v-slot:title>
<span v-if="!result['conversion_disable']">
<font-awesome-icon icon="cog" class="mr-1" />{{ "Convert" | l }}
@@ -490,10 +490,10 @@ export class InputParameterTerminal extends BaseInputTerminal {
const effectiveThisType = this.effectiveType(this.type);
const otherType = ("type" in other && other.type) || "data";
const effectiveOtherType = this.effectiveType(otherType);
const canAccept = effectiveThisType === effectiveOtherType
const canAccept = effectiveThisType === effectiveOtherType;
return new ConnectionAcceptable(
canAccept,
canAccept ? null: `Cannot attach a ${effectiveOtherType} parameter to a ${effectiveThisType} input`
canAccept ? null : `Cannot attach a ${effectiveOtherType} parameter to a ${effectiveThisType} input`
);
}
}