Avoid refreshing whole index on create

This commit is contained in:
2024-12-19 03:46:29 +01:00
parent 55b6ff3248
commit e5cf3dc0ae
3 changed files with 8 additions and 2 deletions

View File

@@ -122,7 +122,9 @@ module ApplicationHelper
end
def render_no_items
tag.tr tag.td t('.no_items'), colspan: 10, class: 'hint'
tag.tr id: :no_items do
tag.td t('.no_items'), colspan: 10, class: 'hint'
end
end
def render_turbo_stream(partial, locals = {})