Skip to content

Commit 2ccb5f9

Browse files
committed
fix(logo.ejs): preventing errors with stores without logo
1 parent 59531ce commit 2ccb5f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/partials/logo.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<tbody>
77
<tr>
88
<td align="center" bgcolor="#FFFFFF" class="inner-td" style="border-radius:6px;font-size:16px;text-align:center;background-color:inherit">
9-
<a href="<% if (store.homepage) { %> <%= store.homepage %> <% } else{ %> https://<%= store.domain %> <% } %>"><img class="max-width" border="0" style="display:block;color:#000000;text-decoration:none;font-family:Helvetica, arial, sans-serif;font-size:16px;max-width:100% !important;width:100%;height:auto !important;" src="<%= store.logo.url %>" alt="" width="200"></a>
9+
<a href="<% if (store.homepage) { %> <%= store.homepage %> <% } else{ %> https://<%= store.domain %> <% } %>"><img class="max-width" border="0" style="display:block;color:#000000;text-decoration:none;font-family:Helvetica, arial, sans-serif;font-size:16px;max-width:100% !important;width:100%;height:auto !important;" src="<%= store.logo && store.logo.url %>" alt="" width="200"></a>
1010
</td>
1111
</tr>
1212
</tbody>

0 commit comments

Comments
 (0)