mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +08:00
Remove session event handler
This commit is contained in:
parent
7afe25dbd5
commit
c90cc00e88
|
@ -37,12 +37,6 @@ export default class DiscussionList extends Component {
|
|||
this.discussions = [];
|
||||
|
||||
this.refresh();
|
||||
|
||||
app.session.on('loggedIn', this.loggedInHandler = this.refresh.bind(this));
|
||||
}
|
||||
|
||||
onunload() {
|
||||
app.session.off('loggedIn', this.loggedInHandler);
|
||||
}
|
||||
|
||||
view() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user