Skip to content

Commit

Permalink
Reset page when searching for new tag (#550)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwr authored Jan 10, 2023
1 parent 27c2fc7 commit 1b03cc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/view/js/page/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ export default {

if (tagName === "*") {
this.search = excludeMode ? "-tag:*" : "tag:*";
this.page = 1;
this.loadData();
return;
}
Expand Down Expand Up @@ -344,6 +345,7 @@ export default {
}
}

this.page = 1;
this.loadData();
},
showDialogAdd() {
Expand Down

0 comments on commit 1b03cc4

Please sign in to comment.