mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
Fetch group data for all tags instead of those selected
so that tag switching is not delayed by fetching group data, i.e group members and rooms.
This commit is contained in:
parent
d495519986
commit
a2bb240dcb
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ module.exports = React.createClass({
|
|||
this._visibleRooms = [];
|
||||
// When the selected tags are changed, initialise a group store if necessary
|
||||
this._tagStoreToken = TagOrderStore.addListener(() => {
|
||||
TagOrderStore.getSelectedTags().forEach((tag) => {
|
||||
TagOrderStore.getOrderedTags().forEach((tag) => {
|
||||
if (tag[0] !== '+' || this._groupStores[tag]) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue