From 4de709fe512b526f72851bafe2bd963bf601451d Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 26 May 2019 21:35:45 +0900 Subject: [PATCH] Fix #4990 --- src/client/app/desktop/views/home/tag.vue | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/client/app/desktop/views/home/tag.vue b/src/client/app/desktop/views/home/tag.vue index dd4be06a53..343b4ce951 100644 --- a/src/client/app/desktop/views/home/tag.vue +++ b/src/client/app/desktop/views/home/tag.vue @@ -17,20 +17,15 @@ import Progress from '../../../common/scripts/loading'; export default Vue.extend({ i18n: i18n('desktop/views/pages/tag.vue'), - data() { - return { - pagination: { + computed: { + pagination() { + return { endpoint: 'notes/search-by-tag', limit: 20, params: { tag: this.$route.params.tag } - } - }; - }, - watch: { - $route() { - this.$refs.timeline.reload(); + }; } }, mounted() {