FIX: Update for core changes
This commit is contained in:
parent
314873f190
commit
53120661ad
|
@ -53,6 +53,7 @@ export default {
|
||||||
|
|
||||||
@discourseComputed("model.content.@each")
|
@discourseComputed("model.content.@each")
|
||||||
userCards(allUsers) {
|
userCards(allUsers) {
|
||||||
|
if (!allUsers) return [];
|
||||||
const toLoad = [];
|
const toLoad = [];
|
||||||
const userCardInfos = allUsers.map(u => {
|
const userCardInfos = allUsers.map(u => {
|
||||||
if (this.cachedUserCardInfo[u.id]) {
|
if (this.cachedUserCardInfo[u.id]) {
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
{{number (get userCard.directoryItem stat.name)}}
|
{{number (get userCard.directoryItem stat.name)}}
|
||||||
</span>
|
</span>
|
||||||
<span class="label">
|
<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>
|
||||||
</span>
|
</span>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
Loading…
Reference in New Issue