Skip to content

Commit

Permalink
Merge pull request #918 from bullet-train-co/pascal/prevent-turbo-pre…
Browse files Browse the repository at this point in the history
…fetch-on-team-switch-links

Prevent turbo-prefetch on team switch links
  • Loading branch information
jagthedrummer authored Oct 17, 2024
2 parents 157f703 + 9c57137 commit 14502f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<% memberships ||= [] %>

<li class="bg-white shadow overflow-hidden sm:rounded-md dark:bg-slate-700">
<%= link_to link_url, class: "group block hover:bg-slate-50 dark:hover:bg-slate-400 dark:text-slate-800" do %>
<%= link_to link_url, class: "group block hover:bg-slate-50 dark:hover:bg-slate-400 dark:text-slate-800", data: { turbo_prefetch: false } do %>
<div class="px-4 py-4 flex items-center sm:pl-8 sm:pr-6">
<div class="min-w-0 flex-1 sm:flex sm:items-center sm:justify-between">
<div>
Expand Down

0 comments on commit 14502f8

Please sign in to comment.