diff --git a/clients/ui/frontend/src/app/pages/modelRegistry/screens/RegisterModel/RegistrationCommonFormSections.tsx b/clients/ui/frontend/src/app/pages/modelRegistry/screens/RegisterModel/RegistrationCommonFormSections.tsx index 331c248bf..cf3436eff 100644 --- a/clients/ui/frontend/src/app/pages/modelRegistry/screens/RegisterModel/RegistrationCommonFormSections.tsx +++ b/clients/ui/frontend/src/app/pages/modelRegistry/screens/RegisterModel/RegistrationCommonFormSections.tsx @@ -180,14 +180,14 @@ const RegistrationCommonFormSections: React.FC - {latestVersion && ( - - - Current version is {latestVersion.name} - - - )} + {latestVersion && ( + + + Current version is {latestVersion.name} + + + )}
{versionDescriptionInput}