Skip to content

Commit

Permalink
Fix to morph on refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
mattlindsey committed Dec 10, 2024
1 parent 5b60433 commit 16c1aa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/conversations/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<turbo-frame data-turbo-permanent id="nav-conversations">
<turbo-frame id="nav-conversations">
<section id="search"
class="pt-6 text-gray-950 dark:text-gray-100 select-none"
>
Expand All @@ -21,7 +21,6 @@
|,
data: {
search_target: "input",
turbo_permanent: true,
action: %|
blur->search#unfocus
input->search#search
Expand Down
1 change: 1 addition & 0 deletions app/views/messages/_nav_column.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@

<turbo-frame id="nav-conversations"
src="<%= conversations_path %>"
refresh="morph"
loading="lazy"
/>

0 comments on commit 16c1aa6

Please sign in to comment.