Skip to content

Commit e22fc11

Browse files
author
Lionel Laské
committed
Merge branch 'pr/1808' into dev
2 parents 19cc5e7 + 51eb00d commit e22fc11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/screens/homescreen.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ const HomeScreen = {
276276
};
277277
let iconColor = -1;
278278
let entries = sugarizer.modules.journal.getByActivity(activity.id);
279+
entries.sort((a, b) => new Date(b.metadata.timestamp) - new Date(a.metadata.timestamp));
279280
for (let i = 0 ; i < entries.length ; i++) {
280281
const entry = entries[i];
281282
if (popup.itemList.length < this.constant.maxPopupHistory) {

0 commit comments

Comments
 (0)