mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-29 10:49:04 +01:00
Change new explore compass icon CSS class to explore (#29395)
This commit is contained in:
parent
8429d07454
commit
10fdd88288
3 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ class Explore extends PureComponent {
|
||||||
return (
|
return (
|
||||||
<Column bindToDocument={!multiColumn} ref={this.setRef} label={intl.formatMessage(messages.title)}>
|
<Column bindToDocument={!multiColumn} ref={this.setRef} label={intl.formatMessage(messages.title)}>
|
||||||
<ColumnHeader
|
<ColumnHeader
|
||||||
icon={isSearching ? 'search' : 'hashtag'}
|
icon={isSearching ? 'search' : 'explore'}
|
||||||
iconComponent={isSearching ? SearchIcon : ExploreIcon}
|
iconComponent={isSearching ? SearchIcon : ExploreIcon}
|
||||||
title={intl.formatMessage(isSearching ? messages.searchResults : messages.title)}
|
title={intl.formatMessage(isSearching ? messages.searchResults : messages.title)}
|
||||||
onClick={this.handleHeaderClick}
|
onClick={this.handleHeaderClick}
|
||||||
|
|
|
@ -112,7 +112,7 @@ class GettingStarted extends ImmutablePureComponent {
|
||||||
|
|
||||||
if (showTrends) {
|
if (showTrends) {
|
||||||
navItems.push(
|
navItems.push(
|
||||||
<ColumnLink key='explore' icon='hashtag' iconComponent={TagIcon} text={intl.formatMessage(messages.explore)} to='/explore' />,
|
<ColumnLink key='explore' icon='explore' iconComponent={TagIcon} text={intl.formatMessage(messages.explore)} to='/explore' />,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@ class NavigationPanel extends Component {
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{trendsEnabled ? (
|
{trendsEnabled ? (
|
||||||
<ColumnLink transparent to='/explore' icon='hashtag' iconComponent={ExploreIcon} text={intl.formatMessage(messages.explore)} />
|
<ColumnLink transparent to='/explore' icon='explore' iconComponent={ExploreIcon} text={intl.formatMessage(messages.explore)} />
|
||||||
) : (
|
) : (
|
||||||
<ColumnLink transparent to='/search' icon='search' iconComponent={SearchIcon} text={intl.formatMessage(messages.search)} />
|
<ColumnLink transparent to='/search' icon='search' iconComponent={SearchIcon} text={intl.formatMessage(messages.search)} />
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue