mirror of
https://github.com/flarum/core.git
synced 2025-07-20 00:01:17 +02:00
Remove session event handler
This commit is contained in:
@@ -37,12 +37,6 @@ export default class DiscussionList extends Component {
|
|||||||
this.discussions = [];
|
this.discussions = [];
|
||||||
|
|
||||||
this.refresh();
|
this.refresh();
|
||||||
|
|
||||||
app.session.on('loggedIn', this.loggedInHandler = this.refresh.bind(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
onunload() {
|
|
||||||
app.session.off('loggedIn', this.loggedInHandler);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
view() {
|
view() {
|
||||||
|
Reference in New Issue
Block a user