Return null if TagOrderStore is loading
The view should decide the default state.
This commit is contained in:
parent
991ea4ebe5
commit
aa914098dc
2 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ const TagPanel = React.createClass({
|
|||
return;
|
||||
}
|
||||
|
||||
const orderedTags = TagOrderStore.getOrderedTags();
|
||||
const orderedTags = TagOrderStore.getOrderedTags() || [];
|
||||
const orderedGroupTags = orderedTags.filter((t) => t[0] === '+');
|
||||
Promise.all(orderedGroupTags.map(
|
||||
(groupId) => FlairStore.getGroupProfileCached(this.context.matrixClient, groupId),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue