2022-05-06 12:25:58 +02:00
|
|
|
= turbo_stream.remove dom_id(@attachment, :actions)
|
2022-10-25 14:14:24 +02:00
|
|
|
= turbo_stream.dispatch "attachment:destroyed", { target_id: dom_id(@attachment) }
|
2022-05-06 12:25:58 +02:00
|
|
|
= turbo_stream.show_all ".attachment-input-#{@attachment.id}"
|