remove channels from note attribute list
This commit is contained in:
parent
cc954cf1e8
commit
1c871dc50f
1 changed files with 6 additions and 3 deletions
|
@ -23,11 +23,14 @@ defmodule ChiyaWeb.NoteShowLive do
|
|||
<:item title="Published at"><%= @note.published_at %></:item>
|
||||
<:item title="Kind"><%= @note.kind %></:item>
|
||||
<:item title="Url"><%= @note.url %></:item>
|
||||
<%= for channel <- @note.channels do %>
|
||||
<:item title="Channel"><%= @channel.name %></:item>
|
||||
<% end %>
|
||||
</.list>
|
||||
|
||||
<ul>
|
||||
<%= for channel <- @note.channels do %>
|
||||
<li><%= @channel.name %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
<.line />
|
||||
|
||||
<div class="flex flex-wrap gap-3">
|
||||
|
|
Loading…
Reference in a new issue