fix trying to render cdn image of undefined
This commit is contained in:
parent
6d7e968e30
commit
3dab932b96
|
@ -2,7 +2,9 @@
|
|||
{{#each categories as |c|}}
|
||||
<div class='category-box'>
|
||||
<a href={{c.url}}>
|
||||
{{cdn-img src=c.uploaded_logo.url class="logo"}}
|
||||
{{#if c.uploaded_logo.url}}
|
||||
{{cdn-img src=c.uploaded_logo.url class="logo"}}
|
||||
{{/if}}
|
||||
|
||||
<div class='details'>
|
||||
<h3>{{c.name}}</h3>
|
||||
|
|
Loading…
Reference in New Issue