Commit 42235167 authored by JC Brand's avatar JC Brand

Bugfix. Fall back to JID if nick is not set

parent 6a66ba71
...@@ -214,7 +214,7 @@ export default (o) => { ...@@ -214,7 +214,7 @@ export default (o) => {
${ (o.users_with_affiliation instanceof Error) ? ${ (o.users_with_affiliation instanceof Error) ?
html`<li class="list-group-item">${o.users_with_affiliation.message}</li>` : html`<li class="list-group-item">${o.users_with_affiliation.message}</li>` :
(o.users_with_affiliation || []).map(item => (item.nick.match(o.affiliations_filter) ? affiliation_list_item(Object.assign({item}, o)) : '')) } (o.users_with_affiliation || []).map(item => ((item.nick || item.jid).match(o.affiliations_filter) ? affiliation_list_item(Object.assign({item}, o)) : '')) }
</ul> </ul>
</div> </div>
</div> </div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment