Commit 7601d8b0 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Merge branch 'clear-page-param-after-filter-in-add-issues-modal' into 'master'

Reset issue boards add issues modal page when filtering

Closes #29616

See merge request !10039
parents 2de664b1 03f6f51d
......@@ -64,6 +64,7 @@ require('./empty_state');
},
filter: {
handler() {
this.page = 1;
this.loadIssues(true);
},
deep: true,
......@@ -115,6 +116,9 @@ require('./empty_state');
return this.activeTab === 'selected' && this.selectedIssues.length === 0;
},
},
created() {
this.page = 1;
},
components: {
'modal-header': gl.issueBoards.ModalHeader,
'modal-list': gl.issueBoards.ModalList,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment