Skip to content

Commit

Permalink
* refactor(messages): simplify conditional statement for displaying a…
Browse files Browse the repository at this point in the history
…ttach button in _main_column.html.erb
  • Loading branch information
Jason Schulz committed May 3, 2024
1 parent 2f1fcf3 commit 5aea339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/messages/_main_column.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
class="flex-1 pl-6 pr-6 w-full md:max-w-none lg:max-w-[700px] xl:max-w-[810px] mx-auto relative leading-relaxed <%= @assistant.images.blank? && 'relationship' %>"
data-controller="new-message image-upload"
>
<% if !(@assistant.name == "GPT-3.5")%>
<% if @assistant.images%>
<%= button_tag type: "button",
id: "attach-button",
class: "absolute left-11 bottom-[26px] w-[23px] h-[23px] relationship:hidden",
Expand Down

0 comments on commit 5aea339

Please sign in to comment.