Compare commits

...

2 Commits

Author SHA1 Message Date
a43b0548ed 10.51.1 2018-11-15 06:40:09 +09:00
93e95f56f4 Update src/client/app/admin/views/index.vue 2018-11-15 06:39:59 +09:00
2 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,8 @@
{
"name": "misskey",
"author": "syuilo <i@syuilo.com>",
"version": "10.51.0",
"clientVersion": "2.0.11800",
"version": "10.51.1",
"clientVersion": "2.0.11802",
"codename": "nighthike",
"main": "./built/index.js",
"private": true,

View File

@ -37,7 +37,7 @@
</div>
</nav>
<main>
<marquee-text v-if="instances.length > 0" class="instances" :repeat="10" :duration="10">
<marquee-text v-if="instances.length > 0" class="instances" :repeat="10" :duration="20">
<span v-for="instance in instances" class="instance"><b :style="{ background: instance.bg }">{{ instance.host }}</b>{{ instance.notesCount | number }}</span>
</marquee-text>
<div class="page">
@ -103,7 +103,9 @@ export default Vue.extend({
};
},
created() {
this.$root.api('instances').then(instances => {
this.$root.api('instances', {
sort: '+notes'
}).then(instances => {
instances.forEach(i => {
i.bg = randomColor({
seed: i.host,