Skip to content

Commit

Permalink
Merge branch 'fix-fe-validations' into medis-imp-export-api-fe-valid
Browse files Browse the repository at this point in the history
  • Loading branch information
ptugger authored Aug 18, 2023
2 parents 3a18c4d + b168519 commit dc706e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions app/frontend/src/components/forms/SubmissionsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -487,11 +487,7 @@ export default {
(h) => !this.tableFilterIgnore.some((fd) => fd.value === h.value)
);
if (headers.length > 2) {
headers.splice(headers.length - 2, 0, ...this.USER_PREFERENCES);
} else {
headers = headers.concat(this.USER_PREFERENCES);
}
headers.splice(headers.length - 2, 0, ...this.USER_PREFERENCES);
}
return headers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,7 @@ export default {
(h) => !this.tableFilterIgnore.some((fd) => fd.value === h.value)
);
if (headers.length > 2) {
headers.splice(headers.length - 2, 0, ...this.filterData);
} else {
headers = headers.concat(this.filterData);
}
headers.splice(headers.length - 1, 0, ...this.filterData);
}
return headers;
},
Expand Down

0 comments on commit dc706e4

Please sign in to comment.