diff --git a/src-ui/e2e/document-detail/document-detail.spec.ts b/src-ui/e2e/document-detail/document-detail.spec.ts index 99080910a..b4ec0607a 100644 --- a/src-ui/e2e/document-detail/document-detail.spec.ts +++ b/src-ui/e2e/document-detail/document-detail.spec.ts @@ -33,7 +33,7 @@ test('should warn on unsaved changes', async ({ page }) => { await page.getByRole('button', { name: 'Close', exact: true }).click() await expect(page.getByRole('dialog')).toHaveText(/unsaved changes/) await page.getByRole('button', { name: 'Cancel' }).click() - await page.getByRole('link', { name: 'Close all' }).click() + await page.getByRole('button', { name: 'Close all' }).click() await expect(page.getByRole('dialog')).toHaveText(/unsaved changes/) }) diff --git a/src-ui/src/app/components/admin/trash/trash.component.html b/src-ui/src/app/components/admin/trash/trash.component.html index bb9a947a6..8beb2129d 100644 --- a/src-ui/src/app/components/admin/trash/trash.component.html +++ b/src-ui/src/app/components/admin/trash/trash.component.html @@ -18,9 +18,11 @@ -
- -
+@if (totalDocuments() > 25) { +
+ +
+}
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 59b76de6b..273feaab2 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 @@ -4,27 +4,34 @@ (click)="closeMobileSearch(); toggleMenuCollapsed()"> - - - - -
- @if (customAppTitle?.length) { -
- {{customAppTitle}} - -
+ @if (!hasCustomBranding) { + + + + + } @else { + @if (customAppLogo) { + } @else { - Paperless-ngx + + + } -
+
+ {{ appTitle }} + @if (customAppTitle) { + + } +
+ }
-
-
+
@@ -34,7 +41,7 @@ }