TSK-1312: Fix bug due to type change while creating a new classification

This commit is contained in:
Sofie Hofmann 2020-06-29 14:24:22 +02:00
parent e99126b4a2
commit b51b1add49
1 changed files with 2 additions and 1 deletions

View File

@ -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);