mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-18 07:31:46 +03:00
Consistently order flairs based on room configuration.
This commit is contained in:
parent
3dab1b817c
commit
384320e29f
1 changed files with 2 additions and 2 deletions
|
@ -84,8 +84,8 @@ export default React.createClass({
|
|||
_getDisplayedGroups(userGroups, relatedGroups) {
|
||||
let displayedGroups = userGroups || [];
|
||||
if (relatedGroups && relatedGroups.length > 0) {
|
||||
displayedGroups = displayedGroups.filter((groupId) => {
|
||||
return relatedGroups.includes(groupId);
|
||||
displayedGroups = relatedGroups.filter((groupId) => {
|
||||
return displayedGroups.includes(groupId);
|
||||
});
|
||||
} else {
|
||||
displayedGroups = [];
|
||||
|
|
Loading…
Reference in a new issue