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

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: {
pagination() {
return { return {
pagination: {
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() {