From b51b1add4942d9825c3810657f40485771d116f7 Mon Sep 17 00:00:00 2001 From: Sofie Hofmann <29145005+sofie29@users.noreply.github.com> Date: Mon, 29 Jun 2020 14:24:22 +0200 Subject: [PATCH] TSK-1312: Fix bug due to type change while creating a new classification --- .../shared/store/classification-store/classification.state.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/app/shared/store/classification-store/classification.state.ts b/web/src/app/shared/store/classification-store/classification.state.ts index 98a0405f6..70a46c59d 100644 --- a/web/src/app/shared/store/classification-store/classification.state.ts +++ b/web/src/app/shared/store/classification-store/classification.state.ts @@ -38,7 +38,8 @@ export class ClassificationState implements NgxsAfterBootstrap { if (state.classificationTypes[action.selectedType]) { ctx.patchState({ selectedClassificationType: action.selectedType, - selectedClassification: undefined + selectedClassification: undefined, + action: ACTION.DEFAULT }); } return of(null);