Skip to content
Snippets Groups Projects
Commit 1e93a36b authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

fix: member counter on invalid datas

parent d9391930
No related branches found
Tags v5.0.0-beta.2
1 merge request!18Beta to master
Pipeline #19119 passed with stage
in 35 seconds
......@@ -39,7 +39,7 @@ customElements.define(
<span
class="icon icon-people icon-third icon-large margin-right-xsmall"
></span>
<span>${members.user_set.length} membre(s)</span>
<span>${members?.user_set?.length || 0} membre(s)</span>
`;
},
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment