PERF: don't render user card until displayed

This commit is contained in:
Sam 2014-12-11 15:42:12 +11:00
parent d2a7904bf2
commit 46720b1017
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
{{#if controller.visible}}
<div class="card-content">
{{#link-to 'user' user}}{{bound-avatar avatar "huge"}}{{/link-to}}
@ -75,3 +76,4 @@
</div>
{{/if}}
</div>
{{/if}}