From ead44ad8a124c79f5d2d3109b4f6f819b73dd17d Mon Sep 17 00:00:00 2001 From: hatz Date: Tue, 20 May 2025 20:42:32 -0500 Subject: [PATCH] Add new chat button --- app/views/chats/index.html.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/views/chats/index.html.erb b/app/views/chats/index.html.erb index 8560ef97..ce60a0aa 100644 --- a/app/views/chats/index.html.erb +++ b/app/views/chats/index.html.erb @@ -16,6 +16,16 @@
<% if @chats.any? %>

Chats

+
+ <%= render LinkComponent.new( + text: "New chat", + icon: "plus", + variant: :primary, + href: new_chat_path, + frame: chat_frame, + class: "w-full justify-center" + ) %> +
<%= render @chats %>