From 4bb6e2cf10a93657a7cfdd3c048dab7ce5a4cc1b Mon Sep 17 00:00:00 2001 From: xsalonx Date: Fri, 1 Mar 2024 12:18:15 +0100 Subject: [PATCH] alter condition --- lib/public/views/Runs/Overview/exportRunsTriggerAndModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/public/views/Runs/Overview/exportRunsTriggerAndModal.js b/lib/public/views/Runs/Overview/exportRunsTriggerAndModal.js index b7462fb8ab..519247a0fe 100644 --- a/lib/public/views/Runs/Overview/exportRunsTriggerAndModal.js +++ b/lib/public/views/Runs/Overview/exportRunsTriggerAndModal.js @@ -28,7 +28,7 @@ const exportForm = (runsOverviewModel, runs, modalHandler) => { const selectedRunsFields = runsOverviewModel.getSelectedRunsFields() || []; const selectedExportType = runsOverviewModel.getSelectedExportType() || exportTypes[0]; const runsFields = Object.keys(runsActiveColumns); - const enabled = selectedRunsFields.length > 0; + const enabled = selectedRunsFields.length > 0 && runs; return [ runsOverviewModel.isAllRunsTruncated