summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/components/time.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/components/time.vue b/src/client/components/time.vue
index 2a871d6d81..e84f0aa25c 100644
--- a/src/client/components/time.vue
+++ b/src/client/components/time.vue
@@ -61,6 +61,7 @@ export default Vue.extend({
},
methods: {
tick() {
+ // TODO: パフォーマンス向上のため、このコンポーネントが画面内に表示されている場合のみ更新する
this.now = new Date();
this.tickId = setTimeout(() => {