Skip to content

Commit

Permalink
Revert "Show space name even if there's one"
Browse files Browse the repository at this point in the history
This reverts commit 22a9703.
  • Loading branch information
ek-so committed Nov 11, 2024
1 parent 2528266 commit 861b41b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class SpacesMenuUI extends Component<Props> {
<EuiPopoverTitle paddingSize="s">
{search ||
i18n.translate('xpack.spaces.navControl.spacesMenu.selectSpacesTitle', {
defaultMessage: 'Spaces',
defaultMessage: 'Your spaces',
})}
</EuiPopoverTitle>
{list}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class NavControlPopoverUI extends Component<Props, State> {
const isTourOpen = Boolean(activeSpace) && this.state.showTour && !this.state.showSpaceSelector;

let element: React.ReactNode;
if (this.state.loading) {
if (this.state.loading || this.state.spaces.length < 2) {
element = (
<SpacesDescription
id={popoutContentId}
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/translations/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -45079,7 +45079,7 @@
"xpack.spaces.navControl.spacesMenu.changeCurrentSpaceTitle": "Modifier l'espace en cours",
"xpack.spaces.navControl.spacesMenu.findSpacePlaceholder": "Rechercher un espace",
"xpack.spaces.navControl.spacesMenu.noSpacesFoundTitle": "aucun espace trouvé",
"xpack.spaces.navControl.spacesMenu.selectSpacesTitle": "Espaces",
"xpack.spaces.navControl.spacesMenu.selectSpacesTitle": "Vos espaces",
"xpack.spaces.navControl.spacesMenu.spacesAriaLabel": "Espaces",
"xpack.spaces.navControl.tour.closeBtn": "Fermer",
"xpack.spaces.navControl.tour.content": "Il offre toutes les analyses et les fonctionnalités {solution} dont vous avez besoin. Vous pouvez changer de vue ou revenir à la navigation classique à partir des paramètres de votre espace, ou créer d'autres espaces avec des vues différentes. {learnMore}",
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -44348,7 +44348,7 @@
"xpack.spaces.navControl.spacesMenu.changeCurrentSpaceTitle": "更改当前空间",
"xpack.spaces.navControl.spacesMenu.findSpacePlaceholder": "查找工作区",
"xpack.spaces.navControl.spacesMenu.noSpacesFoundTitle": "未找到工作区",
"xpack.spaces.navControl.spacesMenu.selectSpacesTitle": "工作区",
"xpack.spaces.navControl.spacesMenu.selectSpacesTitle": "您的工作区",
"xpack.spaces.navControl.spacesMenu.spacesAriaLabel": "工作区",
"xpack.spaces.navControl.tour.closeBtn": "关闭",
"xpack.spaces.navControl.tour.content": "它提供了您需要的所有分析和 {solution} 功能。您可以切换视图,或从工作区设置中返回到经典导航,或创建其他具有不同视图的工作区。{learnMore}",
Expand Down

0 comments on commit 861b41b

Please sign in to comment.