diff --git a/app/helpers/bubbles_helper.rb b/app/helpers/bubbles_helper.rb
index 22f319362..93afa0f30 100644
--- a/app/helpers/bubbles_helper.rb
+++ b/app/helpers/bubbles_helper.rb
@@ -21,4 +21,13 @@ module BubblesHelper
}
end
end
+
+ def previewing_card
+ @previewing_bubble = true
+ yield
+ end
+
+ def previewing_card?
+ @previewing_bubble
+ end
end
diff --git a/app/views/bubbles/_assignees.html.erb b/app/views/bubbles/_assignees.html.erb
index 603c0ef7d..0ac5036c3 100644
--- a/app/views/bubbles/_assignees.html.erb
+++ b/app/views/bubbles/_assignees.html.erb
@@ -10,7 +10,7 @@
Assign
- <%= turbo_frame_tag bubble, :assignment, src: new_bucket_bubble_assignment_toggle_path(bubble.bucket, bubble) %>
+ <%= turbo_frame_tag bubble, :assignment, src: new_bucket_bubble_assignment_toggle_path(bubble.bucket, bubble) unless previewing_card? %>
<% end %>
diff --git a/app/views/bubbles/_card.html.erb b/app/views/bubbles/_card.html.erb
index 177b84b39..41bd539d2 100644
--- a/app/views/bubbles/_card.html.erb
+++ b/app/views/bubbles/_card.html.erb
@@ -1,9 +1,9 @@
<% cache bubble do %>
-