Skip to content

Commit

Permalink
fix 2f34456
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Oct 29, 2024
1 parent fab7625 commit af1c5e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/components/MkNoteDetailed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -756,8 +756,8 @@ function loadRepliesSimple() {
}

if (tab.value === 'replies' && !repliesLoaded.value) {
if (appearNote.value.repliesCount < 3 || !defaultStore.state.autoLoadMoreReplies) loadRepliesSimple();
else if (appearNote.value.repliesCount >= 3 && defaultStore.state.autoLoadMoreReplies) loadReplies();
if (appearNote.value.repliesCount <= 3 || !defaultStore.state.autoLoadMoreReplies) loadRepliesSimple();
else if (appearNote.value.repliesCount > 3 && defaultStore.state.autoLoadMoreReplies) loadReplies();
}

const conversationLoaded = ref(false);
Expand Down

0 comments on commit af1c5e6

Please sign in to comment.