[release-1.6] perf: batch add to photos in order of image selection (#637)

pull/639/head
Halo Dev Bot 2 years ago committed by GitHub
parent 205fa09960
commit a7399e8988
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -345,7 +345,7 @@ export default {
if (!raw.length) { if (!raw.length) {
return return
} }
const photosToStage = raw.map(attachment => { const photosToStage = raw.reverse().map(attachment => {
return { return {
name: attachment.name, name: attachment.name,
url: attachment.path, url: attachment.path,

Loading…
Cancel
Save