mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-05 04:03:45 +08:00
Merge pull request #7452 from aignatov-bio/ai-sci-10611-fix-folder-selection
Fix folder selection [SCI-10605]
This commit is contained in:
commit
3fe97b0b15
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue