Merge branch 'resort-scans' into 'v3'

Sort scans by created time

Closes #708

See merge request openflexure/openflexure-microscope-server!551
This commit is contained in:
Julian Stirling 2026-03-26 10:26:24 +00:00
commit 61f44b9af1

View file

@ -202,7 +202,7 @@ export default {
scan.can_stitch = !scan.stitch_available && scan.number_of_images > 3;
});
scans.sort((a, b) => {
return b.modified - a.modified;
return b.created - a.created;
});
this.scans = scans;
} catch (err) {