Prevent NoMethodError when Html variant is not present (#13276)
Fixes https://app.honeybadger.io/projects/72638/faults/78731893.
This commit is contained in:
parent
f3d168f2e9
commit
b2ded5b889
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
<title><%= community_name %> ❤️</title>
|
||||
</head>
|
||||
<body>
|
||||
<%= @html_variant.html.html_safe %>
|
||||
<%= @html_variant.html.html_safe if @html_variant.present? %>
|
||||
<div id="html-variant-element" data-variant-id="<%= @html_variant.id %>"></div>
|
||||
<script defer>
|
||||
setTimeout(function () {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue