mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
link fe: fix "mark all as read" button
This wasn't bound, nor calling, correctly.
This commit is contained in:
parent
77874c29c3
commit
e9233b1a50
@ -27,6 +27,7 @@ export class SettingsScreen extends Component {
|
||||
this.submitColor = this.submitColor.bind(this);
|
||||
this.renderDelete = this.renderDelete.bind(this);
|
||||
this.renderMetadataSettings = this.renderMetadataSettings.bind(this);
|
||||
this.markAllAsSeen = this.markAllAsSeen.bind(this);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
@ -346,7 +347,7 @@ export class SettingsScreen extends Component {
|
||||
<p className="f8 mt3 lh-copy db">Mark all links as read</p>
|
||||
<p className="f9 gray2 db mb4">Mark all links in this collection as read.</p>
|
||||
<a className="dib f9 black gray4-d bg-gray0-d ba pa2 b--black b--gray1-d pointer"
|
||||
onClick={() => this.markAllAsSeen}>
|
||||
onClick={this.markAllAsSeen}>
|
||||
Mark all as read
|
||||
</a>
|
||||
{this.renderRemove()}
|
||||
|
Loading…
Reference in New Issue
Block a user