Skip to content

Commit e21239e

Browse files
do not set active prop for disabled export/report tab nav items
Fixes #21101
1 parent a9d9419 commit e21239e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,15 +369,15 @@ async function onCancel() {
369369
<BNavItem
370370
title="Report"
371371
class="invocation-report-tab"
372-
:active="props.tab === 'report'"
372+
:active="!tabsDisabled && props.tab === 'report'"
373373
:to="`/workflows/invocations/${props.invocationId}/report`"
374374
:disabled="tabsDisabled">
375375
Report
376376
</BNavItem>
377377
<BNavItem
378378
title="Export"
379379
class="invocation-export-tab"
380-
:active="props.tab === 'export'"
380+
:active="!tabsDisabled && props.tab === 'export'"
381381
:to="`/workflows/invocations/${props.invocationId}/export`"
382382
:disabled="tabsDisabled">
383383
Export

0 commit comments

Comments
 (0)