Skip to content
Snippets Groups Projects

Add `Delete` button to label edit view

Merged Peter Hegman requested to merge 345195-add-a-delete-button-to-the-edit-label-pages into master
All threads resolved!
3 files
+ 4
4
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 1
1
@@ -260,7 +260,7 @@ def hook_attrs
@@ -260,7 +260,7 @@ def hook_attrs
attributes
attributes
end
end
def present(attributes)
def present(attributes = {})
super(**attributes.merge(presenter_class: ::LabelPresenter))
super(**attributes.merge(presenter_class: ::LabelPresenter))
end
end
Loading