From bf2513c882d2f2010247024c5f6c81e3005235b7 Mon Sep 17 00:00:00 2001 From: Maximilian Wesener Date: Fri, 3 Nov 2023 14:43:24 +0100 Subject: [PATCH] chore: TRACEFOSS-2798 fix column bug. --- CHANGELOG.md | 1 + .../components/table-settings/table-settings.component.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e209131e98..440fa2e070 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Added - Cypress Login to E2E Environment to enable cypress e2e tests. ### Changed +- Fixed table-settings reset bug ### Removed ## [9.0.0-rc1 - 03.11.2023] diff --git a/frontend/src/app/modules/shared/components/table-settings/table-settings.component.ts b/frontend/src/app/modules/shared/components/table-settings/table-settings.component.ts index beab400bba..7c27ad6232 100644 --- a/frontend/src/app/modules/shared/components/table-settings/table-settings.component.ts +++ b/frontend/src/app/modules/shared/components/table-settings/table-settings.component.ts @@ -149,7 +149,7 @@ export class TableSettingsComponent { } resetColumns() { - this.dialogColumns = [...this.defaultColumns]; + this.dialogColumns = [...this.defaultColumns.filter(value => value!=='menu')]; this.selectAll(true); } }