From 6e79afd1151a278775496972411625d17297021c Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Wed, 5 May 2021 18:56:53 +0200 Subject: [PATCH] Logout on deleteuser event --- projects/common/src/fm/components/app/app.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/projects/common/src/fm/components/app/app.component.ts b/projects/common/src/fm/components/app/app.component.ts index ae59fdb..cb19ca0 100644 --- a/projects/common/src/fm/components/app/app.component.ts +++ b/projects/common/src/fm/components/app/app.component.ts @@ -104,7 +104,11 @@ export class AppComponent implements OnInit, OnDestroy { case "notification": { action = new commonActions.NotificationEvent(event.attributes); break; - } + } + case "DeleteUser": { + action = new commonActions.Logout(); + break; + } } return action; }