Skip to content

Commit

Permalink
Also emit change on update apps
Browse files Browse the repository at this point in the history
When messages are loaded before the apps then the messages doesn't have
an image.
  • Loading branch information
jmattheis committed Apr 15, 2018
1 parent 74f6ad5 commit 20ea9d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/src/stores/MessageStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ class MessageStore extends EventEmitter {
this.reset = false;
this.resetOnAll = false;
this.loading = false;
AppStore.on('change', this.updateApps);
AppStore.on('change', () => {
this.updateApps();
this.emit('change');
});
}

shouldReset(appId) {
Expand Down

0 comments on commit 20ea9d6

Please sign in to comment.