Skip to content

Commit

Permalink
Load top groups at first
Browse files Browse the repository at this point in the history
  • Loading branch information
derneuere committed Jul 10, 2023
1 parent 5f23ad4 commit 63b604f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/photos/TimestampPhotos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function TimestampPhotos() {
}, [dispatch]);

const getAlbums = (visibleGroups: any) => {
visibleGroups.forEach((group: any) => {
visibleGroups.reverse().forEach((group: any) => {
const visibleImages = group.items;
if (visibleImages.filter((i: any) => i.isTemp && i.isTemp != undefined).length > 0) {
const firstTempObject = visibleImages.filter((i: any) => i.isTemp)[0];
Expand Down

0 comments on commit 63b604f

Please sign in to comment.