diff --git a/GITLAB_PAGES_VERSION b/GITLAB_PAGES_VERSION index feaae22bac7..0eed1a29efd 100644 --- a/GITLAB_PAGES_VERSION +++ b/GITLAB_PAGES_VERSION @@ -1 +1 @@ -1.13.0 +1.12.0 diff --git a/app/assets/javascripts/error_tracking/components/error_tracking_list.vue b/app/assets/javascripts/error_tracking/components/error_tracking_list.vue index aa275d63c3f..eb4150b010d 100644 --- a/app/assets/javascripts/error_tracking/components/error_tracking_list.vue +++ b/app/assets/javascripts/error_tracking/components/error_tracking_list.vue @@ -47,6 +47,11 @@ export default { thClass: 'w-15p', tdClass: 'table-col d-flex align-items-center d-sm-table-cell', }, + { + key: 'ignore', + label: '', + tdClass: 'table-col d-flex align-items-center d-sm-table-cell', + }, { key: 'details', tdClass: 'table-col d-sm-none d-flex align-items-center', @@ -97,6 +102,14 @@ export default { type: Boolean, required: true, }, + projectPath: { + type: String, + required: true, + }, + listPath: { + type: String, + required: true, + }, }, hasLocalStorage: AccessorUtils.isLocalStorageAccessSafe(), data() { @@ -144,6 +157,7 @@ export default { 'loadRecentSearches', 'setIndexPath', 'fetchPaginatedResults', + 'updateStatus', ]), setSearchText(text) { this.errorSearchQuery = text; @@ -166,6 +180,16 @@ export default { isCurrentSortField(field) { return field === this.sortField; }, + getIssueUpdatePath(errorId) { + return `/${this.projectPath}/-/error_tracking/${errorId}.json`; + }, + updateIssueStatus(errorId, status) { + this.updateStatus({ + endpoint: this.getIssueUpdatePath(errorId), + redirectUrl: this.listPath, + status, + }); + }, }, }; @@ -299,6 +323,16 @@ export default { +