Merge pull request #6760 from matrix-org/t3chguy/fix/18528

Improve tooltips on space quick actions and explore button
This commit is contained in:
Michael Telatynski
2021-09-08 22:59:52 +01:00
committed by GitHub
3 changed files with 12 additions and 5 deletions

View File

@@ -399,7 +399,9 @@ export default class LeftPanel extends React.Component<IProps, IState> {
mx_LeftPanel_exploreButton_space: !!this.state.activeSpace,
})}
onClick={this.onExplore}
title={_t("Explore rooms")}
title={this.state.activeSpace
? _t("Explore %(spaceName)s", { spaceName: this.state.activeSpace.name })
: _t("Explore rooms")}
/>
</div>
);