From b5916d0a50def919a7ddce4d86091ababcd3deb5 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Sun, 12 Feb 2023 00:19:02 +1300 Subject: [PATCH] Reverse avatar history --- html/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/src/app.js b/html/src/app.js index ce19ffee..d46903ec 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -21955,7 +21955,7 @@ speechSynthesis.getVoices(); API.$on('LOGIN', async function () { $app.avatarHistory = new Set(); var historyArray = await database.getAvatarHistory(); - $app.avatarHistoryArray = historyArray; + $app.avatarHistoryArray = historyArray.reverse(); for (var i = 0; i < historyArray.length; i++) { $app.avatarHistory.add(historyArray[i].id); this.applyAvatar(historyArray[i]);