From 12d8bcad6e5e67de48608f6d7256d169ffd01dfc Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 28 Apr 2023 07:07:59 -0700 Subject: [PATCH] Close all docs on logout --- src-ui/src/app/components/app-frame/app-frame.component.html | 2 +- src-ui/src/app/components/app-frame/app-frame.component.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src-ui/src/app/components/app-frame/app-frame.component.html b/src-ui/src/app/components/app-frame/app-frame.component.html index 90e75be58..be0240eb5 100644 --- a/src-ui/src/app/components/app-frame/app-frame.component.html +++ b/src-ui/src/app/components/app-frame/app-frame.component.html @@ -44,7 +44,7 @@ Settings - + Logout diff --git a/src-ui/src/app/components/app-frame/app-frame.component.ts b/src-ui/src/app/components/app-frame/app-frame.component.ts index 24b7e8f23..cff4366da 100644 --- a/src-ui/src/app/components/app-frame/app-frame.component.ts +++ b/src-ui/src/app/components/app-frame/app-frame.component.ts @@ -243,4 +243,8 @@ export class AppFrameComponent this.checkForUpdates() } } + + onLogout() { + this.openDocumentsService.closeAll() + } }