Consistently order flairs based on room configuration.

pull/21833/head
Christopher Medlin 2018-12-24 14:46:36 -08:00
parent 3dab1b817c
commit 384320e29f
1 changed files with 2 additions and 2 deletions

View File

@ -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 = [];