Skip to content

Commit

Permalink
Use chat title instead of ID as page title
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Ehrhardt <59441+jehrhardt@users.noreply.github.com>
  • Loading branch information
jehrhardt committed Sep 22, 2024
1 parent 0e27592 commit ee8eb69
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/cozycoder_web/live/chat_live/show.html.heex
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<.header>
Chat <%= @chat.id %>
<:subtitle>This is a chat record from your database.</:subtitle>
<%= @chat.title %>
<:actions>
<.link patch={~p"/chats/#{@chat}/show/edit"} phx-click={JS.push_focus()}>
<.button>Edit chat</.button>
Expand Down

0 comments on commit ee8eb69

Please sign in to comment.