There was an error while loading. Please reload this page.
1 parent 938b98e commit a07f448Copy full SHA for a07f448
1 file changed
app/config/units_config.rb
@@ -38,7 +38,7 @@ def self.parse_unit_types(value)
38
def available_unit_types
39
all_types = Unit.unit_types.keys
40
return all_types if enabled_unit_types.empty?
41
- all_types.select { enabled_unit_types.include?(_1) }
+ all_types.select { enabled_unit_types.include?(it) }
42
end
43
44
sig { returns(T::Boolean) }
0 commit comments