From 668b0dcb7bbb50e20ad60e7b1a65c8e94ffad12b Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Sat, 23 Jul 2022 09:46:31 -0400 Subject: [PATCH] emojy: sort the emojy list page --- plugins/emojy/list.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/emojy/list.html b/plugins/emojy/list.html index 5d7904e..aea74f6 100644 --- a/plugins/emojy/list.html +++ b/plugins/emojy/list.html @@ -44,8 +44,8 @@
-
- +
+
{{name}}
@@ -62,6 +62,7 @@ view: '', nav: [], results: [], + fileKeys: [], fileList: {}, image: null, password: '' @@ -90,6 +91,8 @@ .catch(err => (this.err = err)) axios.get('/emojy/allFiles') .then(resp => { + // stole this somewhere or other as a quick hack + this.fileKeys = Object.keys(resp.data).sort() this.fileList = resp.data this.err = '' })