mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix linting
This commit is contained in:
@@ -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`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user