From da4bb2a0f47f5db4538b7872defe1de9a11ccbbf Mon Sep 17 00:00:00 2001 From: "Mx. Corey Frang" Date: Wed, 10 Apr 2024 17:13:54 -0400 Subject: [PATCH] Fix view log button on test run --- client/components/TestRun/index.jsx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/client/components/TestRun/index.jsx b/client/components/TestRun/index.jsx index b31e75382..957c65cda 100644 --- a/client/components/TestRun/index.jsx +++ b/client/components/TestRun/index.jsx @@ -1014,6 +1014,9 @@ const TestRun = () => { ]; } + const externalLogsUrl = + collectionJobQuery?.collectionJobByTestPlanRunId?.externalLogsUrl; + const menuRightOfContent = (

Test Options

@@ -1034,17 +1037,12 @@ const TestRun = () => { href={issueLink} /> - {isBot(openAsUser) && - collectionJobQuery?.collectionJobByTestPlanRunId - ?.externalLogsUrl ? ( + {isBot(openAsUser) && externalLogsUrl ? (
  • ) : (