Also emit change on update apps
When messages are loaded before the apps then the messages doesn't have an image.
This commit is contained in:
parent
74d7c7cc9e
commit
eeadd0505c
|
|
@ -10,7 +10,10 @@ class MessageStore extends EventEmitter {
|
||||||
this.reset = false;
|
this.reset = false;
|
||||||
this.resetOnAll = false;
|
this.resetOnAll = false;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
AppStore.on('change', this.updateApps);
|
AppStore.on('change', () => {
|
||||||
|
this.updateApps();
|
||||||
|
this.emit('change');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
shouldReset(appId) {
|
shouldReset(appId) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue