We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5233ba9 commit 31d250dCopy full SHA for 31d250d
frontend/src/redux/session/klage/helpers.ts
@@ -1,10 +1,10 @@
1
import type { ISessionCase } from '@app/components/case/uinnlogget/types';
2
import { getUniqueId } from '@app/functions/uuid';
3
import type { Innsendingsytelse } from '@app/innsendingsytelser/innsendingsytelser';
4
-import { CASE_TYPE_PATH_SEGMENTS, type CaseType } from '@app/redux-api/case/types';
+import type { CaseType } from '@app/redux-api/case/types';
5
6
export const getSessionCaseKey = (type: CaseType, ytelse: Innsendingsytelse): string =>
7
- `${CASE_TYPE_PATH_SEGMENTS[type]}-${ytelse}`;
+ `klang-${type}-${ytelse}`.toLowerCase();
8
9
export const createSessionCase = (
10
type: CaseType,
0 commit comments