Commit 8d948f5d authored by Audrey Hamelers's avatar Audrey Hamelers

make sure all manuscript files are sent to taggers

parent 7e6ff1c5
Pipeline #13133 passed with stages
in 6 minutes and 2 seconds
......@@ -98,6 +98,13 @@ function getManuscript(manId) {
file.type,
)
) {
if (
file.type === 'manuscript' &&
list.some(file => file.type === 'manuscript') &&
!file.label
) {
file.label = list.length().toString()
}
file.filename = fileUtils.normalizeFilename(file)
}
list.push(file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment