Merge pull request 'fix url check in public note' (#218) from devel into main
Reviewed-on: #218
This commit is contained in:
commit
b61259a950
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
</section>
|
</section>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= if String.length(@note.url) > 0 do %>
|
<%= if String.length(@note.url || "") > 0 do %>
|
||||||
<section class="mt-8 max-w-2xl mx-auto text-center text-lg">
|
<section class="mt-8 max-w-2xl mx-auto text-center text-lg">
|
||||||
<.divider text=" " />
|
<.divider text=" " />
|
||||||
<.icon name="hero-link" /> <a href={@note.url}><%= @note.url %></a>
|
<.icon name="hero-link" /> <a href={@note.url}><%= @note.url %></a>
|
||||||
|
|
Loading…
Reference in a new issue