Skip to content

Commit fc3b12f

Browse files
committed
chore: update check for showVersionInfo
1 parent c724630 commit fc3b12f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/components/v2/devtronStackManager/AboutDevtronView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import React, { useEffect } from 'react'
1818
import AboutDevtron from '../../../assets/img/[email protected]'
1919
import { InstallationWrapper } from './DevtronStackManager.component'
20-
import { AboutDevtronViewType, InstallationType } from './DevtronStackManager.type'
20+
import { AboutDevtronViewType } from './DevtronStackManager.type'
2121
import './AboutDevtronView.scss'
2222
import { URLS } from '../../../config'
2323
import { MarkDown, TabGroup } from '@devtron-labs/devtron-fe-common-lib'

src/components/v2/devtronStackManager/DevtronStackManager.tsx

Lines changed: 5 additions & 2 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_KUBECTL ? null : 30000,
110+
serverInfo?.installationType === InstallationType.OSS_KUBECTL ? null : 30000,
111111
)
112112

113113
/**
@@ -561,7 +561,10 @@ export default function DevtronStackManager({
561561
newVersion={stackDetails.releaseNotes[0]?.releaseName}
562562
handleTabChange={handleTabChange}
563563
showInitializing={!logPodName && serverMode === SERVER_MODE.FULL}
564-
showVersionInfo={!!serverInfo?.currentVersion}
564+
showVersionInfo={
565+
!!serverInfo?.currentVersion &&
566+
serverInfo.installationType !== InstallationType.OSS_KUBECTL
567+
}
565568
/>
566569
</section>
567570
)}

0 commit comments

Comments
 (0)