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:
commit
61f44b9af1
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ export default {
|
||||||
scan.can_stitch = !scan.stitch_available && scan.number_of_images > 3;
|
scan.can_stitch = !scan.stitch_available && scan.number_of_images > 3;
|
||||||
});
|
});
|
||||||
scans.sort((a, b) => {
|
scans.sort((a, b) => {
|
||||||
return b.modified - a.modified;
|
return b.created - a.created;
|
||||||
});
|
});
|
||||||
this.scans = scans;
|
this.scans = scans;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue