fix copy for mark as read button

This commit is contained in:
Sean Yesmunt 2018-11-27 18:08:29 -05:00
parent 05f8ec1375
commit a45a345110

View file

@ -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}
/>
);