Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed Mar 26, 2024
2 parents 37b9552 + 1fb4c82 commit 4902481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/console-src/modules/contents/posts/PostList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ const handleSelectPrevious = async () => {
selectedPost.value = previousPost;
return;
}
if (index === 0 && hasPrevious) {
if (index === 0 && hasPrevious.value) {
page.value--;
await refetch();
selectedPost.value = posts.value[posts.value.length - 1].post;
Expand Down

0 comments on commit 4902481

Please sign in to comment.