fix(editor): Hide tabs if only 1 branch (#3743)

This commit is contained in:
Mutasem Aldmour 2022-07-20 16:27:35 +02:00 committed by GitHub
parent c85faff4f1
commit fb67543b2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@
<slot name="run-info"></slot>
</div>
<div v-if="maxOutputIndex > 0" :class="{[$style.tabs]: displayMode === 'table'}">
<div v-if="maxOutputIndex > 0 && branches.length > 1" :class="{[$style.tabs]: displayMode === 'table'}">
<n8n-tabs :value="currentOutputIndex" @input="onBranchChange" :options="branches" />
</div>