mirror of https://github.com/velour/catbase.git
emojy: reorder the stats page
This commit is contained in:
parent
bffc1589c2
commit
09cc6f75c3
|
@ -43,10 +43,9 @@
|
|||
{{ err }}
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<li v-for="(category, name) in results" key="name">
|
||||
{{name}}:
|
||||
<ul>
|
||||
<ul style="list-style-type: none;">
|
||||
<li v-for="category in results">
|
||||
<ul v-if="category" style="list-style-type: none;">
|
||||
<li v-for="emojy in category" key="emojy">
|
||||
{{emojy.count}} -
|
||||
<span v-if="name != 'emoji'">
|
||||
|
@ -96,7 +95,7 @@
|
|||
refresh: function () {
|
||||
axios.get('/emojy/all')
|
||||
.then(resp => {
|
||||
this.results = resp.data
|
||||
this.results = [resp.data["emojy"], resp.data["unknown"], resp.data["emoji"]]
|
||||
this.err = ''
|
||||
})
|
||||
.catch(err => (this.err = err))
|
||||
|
|
Loading…
Reference in New Issue