This commit is contained in:
syuilo 2019-05-26 21:35:45 +09:00
parent 37e4226c70
commit 4de709fe51
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 4 additions and 9 deletions

View File

@ -17,20 +17,15 @@ import Progress from '../../../common/scripts/loading';
export default Vue.extend({ export default Vue.extend({
i18n: i18n('desktop/views/pages/tag.vue'), i18n: i18n('desktop/views/pages/tag.vue'),
data() { computed: {
return { pagination() {
pagination: { return {
endpoint: 'notes/search-by-tag', endpoint: 'notes/search-by-tag',
limit: 20, limit: 20,
params: { params: {
tag: this.$route.params.tag tag: this.$route.params.tag
} }
} };
};
},
watch: {
$route() {
this.$refs.timeline.reload();
} }
}, },
mounted() { mounted() {