diff --git a/app/frontend/src/components/forms/SubmissionsTable.vue b/app/frontend/src/components/forms/SubmissionsTable.vue index a14c73010..2d869f936 100644 --- a/app/frontend/src/components/forms/SubmissionsTable.vue +++ b/app/frontend/src/components/forms/SubmissionsTable.vue @@ -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; diff --git a/app/frontend/src/components/forms/submission/MySubmissionsTable.vue b/app/frontend/src/components/forms/submission/MySubmissionsTable.vue index 707b0abbc..fb52dc675 100644 --- a/app/frontend/src/components/forms/submission/MySubmissionsTable.vue +++ b/app/frontend/src/components/forms/submission/MySubmissionsTable.vue @@ -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; },