A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Close all docs on logout
shamoon12d8bcad6e5e
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.htmlindex 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 @@<use xlink:href="assets/bootstrap-icons.svg#gear"/></svg><ng-container i18n>Settings</ng-container></a>- <a ngbDropdownItem class="nav-link" href="accounts/logout/">+ <a ngbDropdownItem class="nav-link" href="accounts/logout/" (click)="onLogout()"><svg class="sidebaricon me-2" fill="currentColor"><use xlink:href="assets/bootstrap-icons.svg#door-open"/></svg><ng-container i18n>Logout</ng-container>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.tsindex 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 AppFrameComponentthis.checkForUpdates()}}++ onLogout() {+ this.openDocumentsService.closeAll()+ }}