1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-10 22:11:50 +02:00

Mobile: Change revisions to be presented in reverse order in the dropdown (#12406)

This commit is contained in:
mrjo118
2025-06-08 12:16:13 +01:00
committed by GitHub
parent 884141c3e2
commit 9ffeb8c725

View File

@@ -118,7 +118,8 @@ const NoteRevisionViewer: React.FC<Props> = props => {
const options = useMemo(() => {
const result = [];
for (const revision of revisions) {
const reversedRevisions = revisions.slice().reverse();
for (const revision of reversedRevisions) {
const stats = Revision.revisionPatchStatsText(revision);
result.push({
label: `${formatMsToLocal(revision.item_updated_time)} (${stats})`,