Skip to content

Commit

Permalink
Changing SIS integration container to accept also list of SIS codes i…
Browse files Browse the repository at this point in the history
…nstead of one string.
  • Loading branch information
Martin Krulis committed Feb 26, 2018
1 parent 900ccb2 commit d1fb9a5
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/containers/SisIntegrationContainer/SisIntegrationContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,20 @@ class SisIntegrationContainer extends Component {
)}
</td>
<td>
<code>
{group.sisCode}
</code>
{group.sisCode &&
Array.isArray(group.sisCode)
? <span>
{group.sisCode
.map(c =>
<code key="{c}">
{c}
</code>
)
.join(', ')}
</span>
: <code>
{group.sisCode}
</code>}
</td>
<td>
{group.primaryAdminsIds.map(id =>
Expand Down

0 comments on commit d1fb9a5

Please sign in to comment.