mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-08 15:05:22 +02:00
Use menu icon instead of left
This commit is contained in:
parent
9db3cfd4c5
commit
91a440247d
1 changed files with 5 additions and 3 deletions
|
@ -7,9 +7,10 @@
|
||||||
<%= render LinkComponent.new(
|
<%= render LinkComponent.new(
|
||||||
id: "chat-nav-back",
|
id: "chat-nav-back",
|
||||||
variant: "icon",
|
variant: "icon",
|
||||||
icon: "arrow-left",
|
icon: "menu",
|
||||||
href: chats_path,
|
href: chats_path,
|
||||||
frame: chat_frame
|
frame: chat_frame,
|
||||||
|
text: "All chats"
|
||||||
) %>
|
) %>
|
||||||
|
|
||||||
<div class="grow">
|
<div class="grow">
|
||||||
|
@ -25,7 +26,8 @@
|
||||||
variant: "link",
|
variant: "link",
|
||||||
text: "Edit chat title",
|
text: "Edit chat title",
|
||||||
href: edit_chat_path(chat, ctx: "chat"),
|
href: edit_chat_path(chat, ctx: "chat"),
|
||||||
icon: "pencil", data: { turbo_frame: dom_id(chat, "title") }) %>
|
icon: "pencil",
|
||||||
|
frame: dom_id(chat, "title")) %>
|
||||||
|
|
||||||
<% menu.with_item(
|
<% menu.with_item(
|
||||||
variant: "button",
|
variant: "button",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue