mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-03 19:24:48 +08:00
removed redundant return
This commit is contained in:
parent
350f12bdbc
commit
e3e7514049
1 changed files with 1 additions and 2 deletions
|
@ -151,8 +151,7 @@ module ProtocolsIoHelper
|
|||
end
|
||||
|
||||
def step_hash_null?(step_json)
|
||||
return true if step_json.dig(0, 'components', 0, 'component_type_id').nil?
|
||||
false
|
||||
step_json.dig(0, 'components', 0, 'component_type_id').nil?
|
||||
end
|
||||
|
||||
# Images are allowed in:
|
||||
|
|
Loading…
Reference in a new issue