Merge pull request #7452 from aignatov-bio/ai-sci-10611-fix-folder-selection

Fix folder selection [SCI-10605]
This commit is contained in:
aignatov-bio 2024-04-09 14:42:06 +02:00 committed by GitHub
commit 3fe97b0b15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,11 @@ module Lists
end
def code
object.code if project?
if project?
object.code
else
"F#{object.id}" # We don't have proper code for folders, but we need to correct selection
end
end
def created_at