File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ export default function UpgradesCard({ version }: Props): React.ReactElement | n
7878 }
7979
8080 const versionUpgrades = parseUpdates ( data , version )
81+ const currentMajorVersion = version . split ( '.' ) [ 0 ]
8182
8283 const latestCurrentUpdate = findLast ( versionUpgrades ?. currentVersionUpdates ) ?. version
8384
@@ -88,7 +89,7 @@ export default function UpgradesCard({ version }: Props): React.ReactElement | n
8889 < Typography variant = 'h5' > Available versions</ Typography >
8990
9091 < Typography variant = 'body1' sx = { { fontSize : '14px' , fontWeight : 'bold' } } >
91- Current version: { version }
92+ Current version: v { version }
9293 </ Typography >
9394 </ Stack >
9495
@@ -105,7 +106,7 @@ export default function UpgradesCard({ version }: Props): React.ReactElement | n
105106 } }
106107 >
107108 < Typography sx = { { marginRight : '2rem' } } >
108- You are currently running the latest minor version of your major.
109+ There are no new updates for v { currentMajorVersion }
109110 </ Typography >
110111 </ Box >
111112 ) }
You can’t perform that action at this time.
0 commit comments