Remove useless code from copied row_cell

[ci skip]
pull/7924/head
Oliver Günther 5 years ago committed by Wieland Lindenthal
parent 59f2ff1ab7
commit 9c749362bf
  1. 6
      modules/ifc_models/app/cells/ifc_models/models/row_cell.rb

@ -51,12 +51,6 @@ module IFCModels
class: 'icon icon-edit', class: 'icon icon-edit',
accesskey: accesskey(:edit) accesskey: accesskey(:edit)
end end
def deletion_blocked?
return false if table.admin_table?
device.default && table.enforced?
end
end end
end end
end end

Loading…
Cancel
Save