Fixed design settings browser preview missing site title and icon

no issue

- when copying the template parts out of `<GhSitePreview>` the template was left pointing to passed in arguments rather than pulling the data from the settings service
This commit is contained in:
Kevin Ansfield 2021-10-14 15:58:29 +01:00
parent 54ae6902b3
commit 94ca66cde5

View File

@ -39,12 +39,12 @@
<div class="tabs">
<ul><li></li><li></li><li></li></ul>
<div>
{{#if @icon}}
<span class="favicon"><img src={{@icon}} alt="icon"></span>
{{#if this.settings.icon}}
<span class="favicon"><img src={{this.settings.icon}} alt="icon"></span>
{{else}}
<span class="favicon default">{{svg-jar "default-favicon"}}</span>
{{/if}}
<span class="site-title">{{@title}}</span>
<span class="site-title">{{this.settings.title}}</span>
</div>
</div>
</div>