diff --git a/src/components/Navigation/VersionDisplayModal.tsx b/src/components/Navigation/VersionDisplayModal.tsx index 4bb986c1f..d0e300212 100644 --- a/src/components/Navigation/VersionDisplayModal.tsx +++ b/src/components/Navigation/VersionDisplayModal.tsx @@ -17,8 +17,8 @@ const useStyles = makeStyles((theme: Theme) => ({ dialog: { maxWidth: `calc(100% - ${theme.spacing(12)}px)`, maxHeight: `calc(100% - ${theme.spacing(12)}px)`, - height: theme.spacing(36), - width: theme.spacing(38) + height: theme.spacing(34), + width: theme.spacing(36) }, versionWrapper: { minWidth: theme.spacing(20), @@ -47,6 +47,10 @@ const useStyles = makeStyles((theme: Theme) => ({ lineHeight: '17px', color: '#636379', margin: '17px 0 2px 0' + }, + version: { + color: '#1982E3', + fontSize: '14px' } })); @@ -60,6 +64,14 @@ export const VersionDisplayModal: React.FC = ({ const styles = useStyles(); const version = useVersion(); + const adminVersion = + version && version.value && version.value.controlPlaneVersion + ? version.value.controlPlaneVersion.Version?.slice( + 1, + version.value.controlPlaneVersion.Version?.indexOf('-') + ) + : null; + return ( = ({
Flyte Console
UI Version - 0.1.1 -
-
- Platform Version - {platformVersion} + + {platformVersion} +
Admin Version - - {version && - version.value && - version.value.controlPlaneVersion - ? version.value.controlPlaneVersion.Version - : null} - + + {adminVersion} +
Documentation Link:
https://docs.flyte.org/en/latest/