diff --git a/modules/ROOT/examples/live-demos/revisionhistory/index.html b/modules/ROOT/examples/live-demos/revisionhistory/index.html index 90f298739e..71bfe773e3 100644 --- a/modules/ROOT/examples/live-demos/revisionhistory/index.html +++ b/modules/ROOT/examples/live-demos/revisionhistory/index.html @@ -33,7 +33,7 @@

A simple table to play with

Got questions or need help?

diff --git a/modules/ROOT/examples/live-demos/revisionhistory/index.js b/modules/ROOT/examples/live-demos/revisionhistory/index.js index 2a7fcff4ce..cea41b581b 100644 --- a/modules/ROOT/examples/live-demos/revisionhistory/index.js +++ b/modules/ROOT/examples/live-demos/revisionhistory/index.js @@ -8,7 +8,7 @@ const revisions = [ createdAt: '2023-11-24T22:26:21.578Z', author: { id: 'james-wilson', - name: 'A Tiny Husky', + name: 'James Wilson', avatar: 'https://sneak-preview.tiny.cloud/demouserdirectory/images/employee_james-wilson_128_52f19412.jpg', }, content: ` @@ -140,7 +140,7 @@ const revisions = [ const revisionhistory_fetch = () => new Promise((resolve) => { setTimeout(() => { const sortedRevisions = revisions - .sort((a, b) => new Date(a.createdAt) < new Date(b.createdAt) ? 1 : -1); + .sort((a, b) => new Date(a.createdAt) < new Date(b.createdAt) ? -1 : 1); resolve(sortedRevisions); }, fakeDelay); });