summaryrefslogtreecommitdiff
path: root/src/client/pages/instance
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-07-27 23:25:37 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-07-27 23:25:37 +0900
commit14b7f05af40ede154a767334dbbefc3458584290 (patch)
tree6185ed6f79a6000dc65f738acf308062de339286 /src/client/pages/instance
parentワードミュート (#6594) (diff)
downloadsharkey-14b7f05af40ede154a767334dbbefc3458584290.tar.gz
sharkey-14b7f05af40ede154a767334dbbefc3458584290.tar.bz2
sharkey-14b7f05af40ede154a767334dbbefc3458584290.zip
refactor(client): Use v-model for note component, freeze object
Related: #6595
Diffstat (limited to 'src/client/pages/instance')
-rw-r--r--src/client/pages/instance/index.vue2
-rw-r--r--src/client/pages/instance/queue.queue.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/pages/instance/index.vue b/src/client/pages/instance/index.vue
index d21f8d455e..3aedcb65af 100644
--- a/src/client/pages/instance/index.vue
+++ b/src/client/pages/instance/index.vue
@@ -436,7 +436,7 @@ export default Vue.extend({
},
onStatsLog(statsLog) {
- for (const stats of statsLog.reverse()) {
+ for (const stats of [...statsLog].reverse()) {
this.onStats(stats);
}
}
diff --git a/src/client/pages/instance/queue.queue.vue b/src/client/pages/instance/queue.queue.vue
index 1649d1e172..c2aa545fc0 100644
--- a/src/client/pages/instance/queue.queue.vue
+++ b/src/client/pages/instance/queue.queue.vue
@@ -169,7 +169,7 @@ export default Vue.extend({
},
onStatsLog(statsLog) {
- for (const stats of statsLog.reverse()) {
+ for (const stats of [...statsLog].reverse()) {
this.onStats(stats);
}
},