We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc3d135 commit d49dcceCopy full SHA for d49dcce
app/javascript/components/selected-groups-list/index.jsx
@@ -4,9 +4,9 @@ import PropTypes from 'prop-types';
4
5
const SelectedGroupsList = ({ groups }) => {
6
const selectedGroups = [];
7
- // console.log(groups);
8
- groups.sort();
+
9
if (groups) {
+ groups.sort();
10
groups.forEach((group) => {
11
selectedGroups.push(
12
<div key={group}>
0 commit comments