From 7dd7c6ad4af288bd9c759331ef7dc6128f1a03be Mon Sep 17 00:00:00 2001 From: mattyatea Date: Tue, 23 Jan 2024 21:01:55 +0900 Subject: [PATCH] localOnly --- packages/frontend/src/components/MkTimeline.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/frontend/src/components/MkTimeline.vue b/packages/frontend/src/components/MkTimeline.vue index 004f53381c..c022565c24 100644 --- a/packages/frontend/src/components/MkTimeline.vue +++ b/packages/frontend/src/components/MkTimeline.vue @@ -204,7 +204,7 @@ function updatePaginationQuery() { query = { withFiles: true, withRenotes: props.withRenotes, - withReplies: props.withReplies, + withReplies: false, }; } else if (props.src === 'mentions') { endpoint = 'notes/mentions'; @@ -232,12 +232,12 @@ function updatePaginationQuery() { roleId: props.role, }; } else if (props.src.startsWith('custom-timeline')) { - endpoint = "notes/any-local-timeline"; - query = { - host: defaultStore.state[`remoteLocalTimelineDomain${props.src.split("-")[2]}`], - remoteToken:defaultStore.state[`remoteLocalTimelineToken${props.src.split("-")[2]}`] - }; - }else { + endpoint = 'notes/any-local-timeline'; + query = { + host: defaultStore.state[`remoteLocalTimelineDomain${props.src.split('-')[2]}`], + remoteToken: defaultStore.state[`remoteLocalTimelineToken${props.src.split('-')[2]}`], + }; + } else { endpoint = null; query = null; }