Skip to content

Commit

Permalink
Updating appearance of list of SIS codes at dasboard panel.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Krulis committed Feb 26, 2018
1 parent 8278854 commit 833d35e
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/containers/SisIntegrationContainer/SisIntegrationContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,18 @@ class SisIntegrationContainer extends Component {
Array.isArray(group.sisCode)
? <span>
{group.sisCode
.map(c =>
<code key="{c}">
{c}
</code>
.sort(
(a, b) =>
a.localeCompare(b) // locales intentionally ommited
)
.join(', ')}
.map((c, idx) =>
<span key="{c}">
{idx > 0 ? ', ' : ''}
<code>
{c}
</code>
</span>
)}
</span>
: <code>
{group.sisCode}
Expand Down

0 comments on commit 833d35e

Please sign in to comment.