Skip to content

Commit acbe39f

Browse files
committed
Merge branch 'main' of https://github.com/devtron-labs/dashboard into chore/sync-stack-manager-version
2 parents f1138c7 + 040c5cf commit acbe39f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/v2/devtronStackManager/AboutDevtronView.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ const AboutDevtronView = ({
118118
<div className="about-devtron__details">
119119
<h2 className="about-devtron__view-heading cn-9 fs-20 fw-6">
120120
Devtron
121-
{serverInfo?.currentVersion && serverInfo.installationType === InstallationType.OSS_HELM
122-
? ` (${serverInfo.currentVersion.toLowerCase()})`
123-
: ''}
121+
{serverInfo?.currentVersion && serverInfo.installationType !== InstallationType.OSS_KUBECTL && (
122+
<span>&nbsp;({serverInfo.currentVersion.toLowerCase()})</span>
123+
)}
124124
</h2>
125125
<div className="about-devtron__view-tabs w-100">
126126
{renderTabs()}

src/components/v2/devtronStackManager/DevtronStackManager.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default function DevtronStackManager({
107107
_getDetailsForAllModules(stackDetails.discoverModulesList, stackDetails)
108108
_getLogPodName()
109109
},
110-
serverInfo?.installationType === InstallationType.OSS_HELM ? 30000 : null,
110+
serverInfo?.installationType === InstallationType.OSS_KUBECTL ? null : 30000,
111111
)
112112

113113
/**
@@ -562,8 +562,8 @@ export default function DevtronStackManager({
562562
handleTabChange={handleTabChange}
563563
showInitializing={!logPodName && serverMode === SERVER_MODE.FULL}
564564
showVersionInfo={
565-
serverInfo?.currentVersion &&
566-
serverInfo.installationType === InstallationType.OSS_HELM
565+
!!serverInfo?.currentVersion &&
566+
serverInfo.installationType !== InstallationType.OSS_KUBECTL
567567
}
568568
/>
569569
</section>

0 commit comments

Comments
 (0)