Skip to content

Commit 940d794

Browse files
committed
chore: update check for server version in about devtron tab
1 parent fc3b12f commit 940d794

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/v2/devtronStackManager/AboutDevtronView.tsx

Lines changed: 4 additions & 2 deletions
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 } from './DevtronStackManager.type'
20+
import { AboutDevtronViewType, InstallationType } from './DevtronStackManager.type'
2121
import './AboutDevtronView.scss'
2222
import { URLS } from '../../../config'
2323
import { MarkDown, TabGroup } from '@devtron-labs/devtron-fe-common-lib'
@@ -118,7 +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 && <span>&nbsp;({serverInfo.currentVersion.toLowerCase()})</span>}
121+
{serverInfo?.currentVersion && serverInfo.installationType !== InstallationType.OSS_KUBECTL && (
122+
<span>&nbsp;({serverInfo.currentVersion.toLowerCase()})</span>
123+
)}
122124
</h2>
123125
<div className="about-devtron__view-tabs w-100">
124126
{renderTabs()}

0 commit comments

Comments
 (0)