mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Remove double type code #2776
This commit is contained in:
parent
0e4f333c47
commit
b06d9b6d14
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ module Depp
|
|||
def type_string(type_code)
|
||||
return '' if type_code.blank?
|
||||
t = SELECTION_TYPES.select { |tp| tp.second == type_code }
|
||||
t.try(:first)
|
||||
t.try(:first).try(:first)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue