Skip to content

Commit

Permalink
fix(tech user): show proper error message on tech user deletion (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
manojava-gk authored Sep 30, 2024
1 parent 6a45e6a commit 2e60493
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
- fixed overlay enabling on click of managed connectors(details) [#1142](https://github.com/eclipse-tractusx/portal-frontend/pull/1142)
- **Connector Management**
- fixed customer link selection and fixed resetting values [#1119](https://github.com/eclipse-tractusx/portal-frontend/pull/1119)
- **Technical User Management**
- fixed error message scenario post technical user deletion action

## 2.2.0-alpha.1

Expand Down
6 changes: 3 additions & 3 deletions DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -609,16 +609,16 @@ npm/npmjs/@emotion/babel-plugin/11.11.0, MIT, approved, #8386
npm/npmjs/@emotion/cache/11.11.0, MIT, approved, #8401
npm/npmjs/@emotion/hash/0.9.1, MIT, approved, #8394
npm/npmjs/@emotion/hash/0.9.2, MIT, approved, #8394
npm/npmjs/@emotion/is-prop-valid/1.3.0, MIT, approved, clearlydefined
npm/npmjs/@emotion/is-prop-valid/1.3.0, MIT AND (BSD-2-Clause AND MIT), approved, #16339
npm/npmjs/@emotion/memoize/0.8.1, MIT, approved, #8408
npm/npmjs/@emotion/memoize/0.9.0, MIT, approved, clearlydefined
npm/npmjs/@emotion/react/11.11.4, MIT AND (BSD-3-Clause AND MIT), approved, #8931
npm/npmjs/@emotion/serialize/1.3.0, MIT, approved, clearlydefined
npm/npmjs/@emotion/serialize/1.3.0, MIT AND (BSD-2-Clause AND MIT), approved, #16340
npm/npmjs/@emotion/sheet/1.2.2, MIT, approved, #8389
npm/npmjs/@emotion/styled/11.11.5, MIT, approved, clearlydefined
npm/npmjs/@emotion/unitless/0.9.0, MIT, approved, clearlydefined
npm/npmjs/@emotion/use-insertion-effect-with-fallbacks/1.0.1, MIT, approved, #8419
npm/npmjs/@emotion/utils/1.4.0, MIT, approved, clearlydefined
npm/npmjs/@emotion/utils/1.4.0, MIT AND (BSD-2-Clause AND MIT), approved, #16344
npm/npmjs/@emotion/weak-memoize/0.3.1, MIT, approved, #8402
npm/npmjs/@esbuild/aix-ppc64/0.20.2, MIT, approved, clearlydefined
npm/npmjs/@esbuild/android-arm/0.20.2, Apache-2.0 AND MIT AND BSD-3-Clause AND (BSD-2-Clause AND BSD-3-Clause), approved, #15302
Expand Down
6 changes: 0 additions & 6 deletions src/features/admin/serviceApiSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,6 @@ export const apiSlice = createApi({
url: `/api/administration/serviceaccount/owncompany/serviceaccounts/${id}`,
method: 'DELETE',
}),
// Add an ESLint exception until there is a solution
// eslint-disable-next-line
transformErrorResponse: (error: any) =>
error?.errors?.[
'Org.Eclipse.TractusX.Portal.Backend.Administration.Service'
]?.[0] ?? i18next.t('error.deleteTechUserNotificationErrorDescription'),
}),
fetchServiceAccountList: builder.query<
PaginResult<ServiceAccountListEntry>,
Expand Down

0 comments on commit 2e60493

Please sign in to comment.