Skip to content

Commit 0f88f71

Browse files
committed
fix: AppDetails -> SourceInfo - Hide AppStatusCard when status is null
1 parent 035a453 commit 0f88f71

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/components/app/details/appDetails/SourceInfo.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,15 @@ export const SourceInfo = ({
291291
: !isdeploymentAppDeleting &&
292292
environment && (
293293
<div className="flex left w-100">
294-
<AppStatusCard
295-
appDetails={appDetails}
296-
status={status}
297-
cardLoading={cardLoading}
298-
setDetailed={setDetailed}
299-
message={message}
300-
/>
294+
{status && (
295+
<AppStatusCard
296+
appDetails={appDetails}
297+
status={status}
298+
cardLoading={cardLoading}
299+
setDetailed={setDetailed}
300+
message={message}
301+
/>
302+
)}
301303
{!helmMigratedAppNotTriggered && (
302304
<>
303305
{!loadingResourceTree && (

0 commit comments

Comments
 (0)