mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-25 03:03:45 +00:00
Return null if TagOrderStore is loading
The view should decide the default state.
This commit is contained in:
@@ -94,7 +94,7 @@ class TagOrderStore extends Store {
|
||||
_updateOrderedTags() {
|
||||
this._setState({
|
||||
orderedTags: this._state.hasSynced && this._state.hasFetchedJoinedGroups ?
|
||||
this._state.orderedTagsAccountData || this._state.joinedGroupIds : [],
|
||||
this._state.orderedTagsAccountData || this._state.joinedGroupIds : null,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user