remove channels from note attribute list

This commit is contained in:
inhji 2023-03-09 15:03:22 +01:00
parent cc954cf1e8
commit 1c871dc50f

View file

@ -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">