diff --git a/libs/i18n/locales/en/translation.json b/libs/i18n/locales/en/translation.json index 83d56c15..5a87f4ec 100644 --- a/libs/i18n/locales/en/translation.json +++ b/libs/i18n/locales/en/translation.json @@ -228,6 +228,7 @@ "Unable to log in to the application": "Unable to log in to the application", "You do not have access to any organizations.": "You do not have access to any organizations.", "Please contact your administrator to be granted access to an organization.": "Please contact your administrator to be granted access to an organization.", + "You will need to log out and log in again to access the application.": "You will need to log out and log in again to access the application.", "We cannot log you in as we could not determine what organizations you have access to.": "We cannot log you in as we could not determine what organizations you have access to.", "Please try refreshing the page. If the problem persists, contact your administrator.": "Please try refreshing the page. If the problem persists, contact your administrator.", "Error details": "Error details", diff --git a/libs/ui-components/src/components/common/OrganizationSelector.tsx b/libs/ui-components/src/components/common/OrganizationSelector.tsx index 8d362325..32c456c3 100644 --- a/libs/ui-components/src/components/common/OrganizationSelector.tsx +++ b/libs/ui-components/src/components/common/OrganizationSelector.tsx @@ -194,6 +194,7 @@ const OrganizationSelector = ({ onClose, isFirstLogin = true }: OrganizationSele <> {t('You do not have access to any organizations.')} {t('Please contact your administrator to be granted access to an organization.')} + {t('You will need to log out and log in again to access the application.')} ) : ( <> @@ -212,15 +213,17 @@ const OrganizationSelector = ({ onClose, isFirstLogin = true }: OrganizationSele )} - - - - - - - + {!isEmptyOrganizations && ( + + + + + + + + )}