Browse Source

Change icon for domain blocks (#7139)

* Change icon for domain blocks

Both domain blocks and user blocks uses the same icon…

* Update index.js
pull/4/head
Marcin Mikołajczak 6 years ago
committed by Eugen Rochko
parent
commit
fa04945365
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/javascript/mastodon/features/domain_blocks/index.js
  2. +1
    -1
      app/javascript/mastodon/features/getting_started/index.js

+ 1
- 1
app/javascript/mastodon/features/domain_blocks/index.js View File

@ -52,7 +52,7 @@ export default class Blocks extends ImmutablePureComponent {
}
return (
<Column icon='ban' heading={intl.formatMessage(messages.heading)}>
<Column icon='minus-circle' heading={intl.formatMessage(messages.heading)}>
<ColumnBackButtonSlim />
<ScrollableList scrollKey='domain_blocks' onLoadMore={this.handleLoadMore}>
{domains.map(domain =>

+ 1
- 1
app/javascript/mastodon/features/getting_started/index.js View File

@ -122,7 +122,7 @@ export default class GettingStarted extends ImmutablePureComponent {
<ColumnLink icon='thumb-tack' text={intl.formatMessage(messages.pins)} to='/pinned' />
<ColumnLink icon='volume-off' text={intl.formatMessage(messages.mutes)} to='/mutes' />
<ColumnLink icon='ban' text={intl.formatMessage(messages.blocks)} to='/blocks' />
<ColumnLink icon='ban' text={intl.formatMessage(messages.domain_blocks)} to='/domain_blocks' />
<ColumnLink icon='minus-circle' text={intl.formatMessage(messages.domain_blocks)} to='/domain_blocks' />
<ColumnLink icon='cog' text={intl.formatMessage(messages.preferences)} href='/settings/preferences' />
<ColumnLink icon='sign-out' text={intl.formatMessage(messages.sign_out)} href='/auth/sign_out' method='delete' />
</div>

Loading…
Cancel
Save