FIX: Update for core changes

This commit is contained in:
David Taylor 2020-06-19 21:24:06 +01:00
parent 314873f190
commit 53120661ad
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@ export default {
@discourseComputed("model.content.@each")
userCards(allUsers) {
if (!allUsers) return [];
const toLoad = [];
const userCardInfos = allUsers.map(u => {
if (this.cachedUserCardInfo[u.id]) {

View File

@ -37,7 +37,7 @@
{{number (get userCard.directoryItem stat.name)}}
</span>
<span class="label">
{{directory-toggle field=stat.name order=order asc=asc icon=stat.icon tagName="span"}}
{{table-header-toggle field=stat.name order=order asc=asc icon=stat.icon tagName="span"}}
</span>
</span>
{{/each}}