Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
5c3d11dddc
1 changed files with 2 additions and 2 deletions
|
@ -84,8 +84,8 @@ export default React.createClass({
|
||||||
_getDisplayedGroups(userGroups, relatedGroups) {
|
_getDisplayedGroups(userGroups, relatedGroups) {
|
||||||
let displayedGroups = userGroups || [];
|
let displayedGroups = userGroups || [];
|
||||||
if (relatedGroups && relatedGroups.length > 0) {
|
if (relatedGroups && relatedGroups.length > 0) {
|
||||||
displayedGroups = displayedGroups.filter((groupId) => {
|
displayedGroups = relatedGroups.filter((groupId) => {
|
||||||
return relatedGroups.includes(groupId);
|
return displayedGroups.includes(groupId);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
displayedGroups = [];
|
displayedGroups = [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue