mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 07:44:46 +08:00
Fix folder selection [SCI-10611]
This commit is contained in:
parent
d2ace74d75
commit
0d9024afff
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