Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fix closing all documents from sidebar

jonaswinkler4290f38e81f5
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 c59bc3e0a..e17e21e03 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
@@ -99,7 +99,7 @@
</span>
</a>
</li>
- <li class="nav-item w-100" *ngIf="openDocuments.length > 1">
+ <li class="nav-item w-100" *ngIf="openDocuments.length >= 1">
<a class="nav-link text-truncate" [routerLink]="" (click)="closeAll()">
<svg class="sidebaricon" fill="currentColor">
<use xlink:href="assets/bootstrap-icons.svg#x"/>