Skip to content

Commit 6a3c849

Browse files
committed
Fix [object Object] in staff logs details modal
1 parent f36fc8c commit 6a3c849

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

app/assets/javascripts/admin/templates/logs/_site_customization_change_details.js.handlebars

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
<section class="field">
2-
<b>{{i18n admin.customize.css}}</b>: ({{i18n character_count count=stylesheet.length}})<br/>
2+
<b>{{i18n admin.customize.css}}</b>:
3+
{{#if stylesheet}}
4+
({{i18n character_count count=stylesheet.length}})
5+
{{/if}}
6+
<br/>
37
{{textarea value=stylesheet class="plain"}}
48
</section>
59
<section class="field">
6-
<b>{{i18n admin.customize.header}}</b>: ({{i18n character_count count=header.length}})<br/>
10+
<b>{{i18n admin.customize.header}}</b>:
11+
{{#if header}}
12+
({{i18n character_count count=header.length}})
13+
{{/if}}
14+
<br/>
715
{{textarea value=header class="plain"}}
816
</section>
917
<section class="field">

0 commit comments

Comments
 (0)