Remove redundant cop disable directive

This commit is contained in:
Maikel Linke
2023-04-14 16:04:57 +10:00
parent b0211d0930
commit 42585bb074

View File

@@ -14,7 +14,6 @@ module Admin
producers.size == 1 ? producers.first.id : nil
end
# rubocop:disable Metrics/MethodLength
def enterprise_side_menu_items(enterprise)
is_shop = enterprise.sells != "none"
show_properties = !!enterprise.is_primary_producer
@@ -58,6 +57,5 @@ module Admin
{ name: 'white_label', icon_class: "icon-leaf", show: true }
end
# rubocop:enable Metrics/MethodLength
end
end