This commit is contained in:
syuilo 2019-05-26 21:35:45 +09:00
parent d7701fabd0
commit f5988c1fd8

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() {