Skip to content

Commit 986f418

Browse files
committed
chore: rename version compatibility variable
1 parent 8829c4c commit 986f418

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Shared/Components/AboutDevtron/AboutDevtronBody.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const AboutDevtronBody = ({ isFELibAvailable }: { isFELibAvailable: boolean }) =
1414
const currentVersion = currentServerInfo?.serverInfo?.currentVersion
1515
const isEnterprise = currentServerInfo?.serverInfo?.installationType === InstallationType.ENTERPRISE
1616

17-
const isVersionSame = isFELibAvailable === isEnterprise
17+
const isVersionCompatible = isFELibAvailable === isEnterprise
1818

1919
const handleEULAClick = () => {
2020
ReactGA.event({
@@ -31,7 +31,7 @@ const AboutDevtronBody = ({ isFELibAvailable }: { isFELibAvailable: boolean }) =
3131
</div>
3232
<div>
3333
<p className="fs-16 cn-9 fw-6 lh-1-5 m-0">Devtron</p>
34-
{isVersionSame && (
34+
{isVersionCompatible && (
3535
<p className="fs-13 cn-7 fw-4 lh-20 m-0">{`${isEnterprise ? 'Enterprise' : 'OSS'} Version${currentVersion ? `(${currentVersion})` : ''}`}</p>
3636
)}
3737
</div>

0 commit comments

Comments
 (0)