We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d5f8eed + effb965 commit fce6345Copy full SHA for fce6345
app/javascript/controllers/bubble_controller.js
@@ -28,12 +28,6 @@ export default class extends Controller {
28
}
29
30
31
- morphed({target}) {
32
- if (this.element === target) {
33
- this.update()
34
- }
35
36
-
37
get #hasEntropy() {
38
return this.#entropyCleanupInDays < this.entropyValue.daysBeforeReminder
39
app/views/cards/display/preview/_bubble.html.erb
@@ -4,7 +4,7 @@
4
class: "bubble",
5
data: {
6
controller: "bubble",
7
- action: "turbo:morph-element->bubble#morphed",
+ action: "turbo:morph-element->bubble#update:self",
8
bubble_entropy_value: entropy_bubble_options_for(card).to_json,
9
bubble_stalled_value: stalled_bubble_options_for(card)&.to_json
10
} do %>
0 commit comments