+
{{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 = ''
})