fix copy for mark as read button
This commit is contained in:
parent
05f8ec1375
commit
a45a345110
1 changed files with 3 additions and 1 deletions
|
@ -27,12 +27,14 @@ export default class MarkAsRead extends PureComponent<Props> {
|
|||
}
|
||||
|
||||
render() {
|
||||
const { channel } = this.props;
|
||||
const label = channel ? __('Mark as read') : __('Mark all as read');
|
||||
return (
|
||||
<Button
|
||||
noPadding
|
||||
button="inverse"
|
||||
icon={ICONS.CHECK_SIMPLE}
|
||||
label={__('Mark as read')}
|
||||
label={label}
|
||||
onClick={this.handleClick}
|
||||
/>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue