mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 15:54:00 +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
|
end
|
||||||
|
|
||||||
def code
|
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
|
end
|
||||||
|
|
||||||
def created_at
|
def created_at
|
||||||
|
|
Loading…
Reference in a new issue