Skip to content

Commit

Permalink
add missing confirmationId and action in MySubmissionsTable
Browse files Browse the repository at this point in the history
add missing confirmationId and action in MySubmissionsTable
  • Loading branch information
timisenco2015 authored Jul 11, 2023
2 parents dd8bb81 + f4d1eed commit 8f063f4
Showing 1 changed file with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,20 @@ export default {
(h) => !this.filterIgnore.some((fd) => fd.value === h.value)
);
},
HEADERS() {
return this.filterData.length === 0
? this.FILTER_HEADERS
: this.filterData;
let headers = [...this.DEFAULT_HEADERS];
if (headers.length > 1) {
headers.splice(1, 0, ...this.filterData);
} else {
headers = headers.concat(this.filterData);
}
return headers.filter(
(item, idx, inputArray) =>
inputArray.findIndex((arrayItem) => arrayItem.value === item.value) ==
idx
);
},
showStatus() {
Expand Down

0 comments on commit 8f063f4

Please sign in to comment.