Skip to content

Commit 1d79eb2

Browse files
committed
Fixed comments pagination "remembering" past unrelated selections
1 parent dedf2a9 commit 1d79eb2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/app/components/site/list-comment.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ useSchemaOrg([
144144
})
145145
]);
146146
147-
const page = useRouteQuery('page', 1, null, true);
147+
const page = useRouteQuery('page', 1);
148148
const store = useStore();
149149
const { user } = store;
150150
const YesNoModal = useYesNoModal();

frontend/app/components/site/the-comments.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const route = useRoute();
131131
const focusComment = useRouteQuery('comment');
132132
133133
const isLoaded = ref(false);
134-
const page = useRouteQuery('page', 1, null, true);
134+
const page = useRouteQuery('page', 1);
135135
136136
const commentContent = ref('');
137137
const showCommentDialog = ref(false);

0 commit comments

Comments
 (0)