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
This commit is contained in:
commit
7601d8b0b7
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue