From e2093436ac1cacb4424b83a2d708b1925df8e8a9 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 17 Dec 2022 20:09:29 -0800 Subject: [PATCH] lint for eslint --- .../cypress/fixtures/documents/documents.json | 4 ++++ src-ui/cypress/support/e2e.ts | 4 ++-- .../app-frame/app-frame.component.html | 24 +++++++++---------- .../correspondent-edit-dialog.component.html | 2 +- .../document-type-edit-dialog.component.html | 2 +- .../storage-path-edit-dialog.component.html | 2 +- .../tag-edit-dialog.component.html | 2 +- .../permissions-dialog.component.ts | 6 ++--- .../dashboard/dashboard.component.html | 2 +- .../saved-view-widget.component.html | 4 ++-- .../upload-file-widget.component.html | 4 ++-- .../document-comments.component.html | 4 ++-- .../document-detail.component.html | 6 ++--- .../bulk-editor/bulk-editor.component.html | 4 ++-- .../bulk-editor/bulk-editor.component.ts | 7 ++++-- .../document-card-large.component.html | 2 +- .../document-card-small.component.html | 2 +- .../document-list.component.html | 6 ++--- .../management-list.component.html | 14 +++++------ .../manage/settings/settings.component.html | 24 +++++++++---------- .../manage/tasks/tasks.component.html | 6 ++--- .../if-object-permissions.directive.ts | 10 ++++---- .../src/app/directives/if-owner.directive.ts | 6 ++--- .../directives/if-permissions.directive.ts | 6 ++--- 24 files changed, 79 insertions(+), 74 deletions(-) diff --git a/src-ui/cypress/fixtures/documents/documents.json b/src-ui/cypress/fixtures/documents/documents.json index 8b0bb6ee5..211401b4b 100644 --- a/src-ui/cypress/fixtures/documents/documents.json +++ b/src-ui/cypress/fixtures/documents/documents.json @@ -14,6 +14,7 @@ 4 ], "created": "2022-03-22T07:24:18Z", + "created_date": "2022-03-22", "modified": "2022-03-22T07:24:23.264859Z", "added": "2022-03-22T07:24:22.922631Z", "archive_serial_number": null, @@ -31,6 +32,7 @@ "content": "Test document PDF", "tags": [], "created": "2022-03-23T07:24:18Z", + "created_date": "2022-03-23", "modified": "2022-03-23T07:24:23.264859Z", "added": "2022-03-23T07:24:22.922631Z", "archive_serial_number": 12345, @@ -50,6 +52,7 @@ 2 ], "created": "2022-03-24T07:24:18Z", + "created_date": "2022-03-24", "modified": "2022-03-24T07:24:23.264859Z", "added": "2022-03-24T07:24:22.922631Z", "archive_serial_number": null, @@ -69,6 +72,7 @@ 4, 5 ], "created": "2022-06-01T07:24:18Z", + "created_date": "2022-06-01", "modified": "2022-06-01T07:24:23.264859Z", "added": "2022-06-01T07:24:22.922631Z", "archive_serial_number": 12347, diff --git a/src-ui/cypress/support/e2e.ts b/src-ui/cypress/support/e2e.ts index d6813d4c1..9ea46314d 100644 --- a/src-ui/cypress/support/e2e.ts +++ b/src-ui/cypress/support/e2e.ts @@ -5,11 +5,11 @@ beforeEach(() => { fixture: 'ui_settings/settings.json', }) - cy.intercept('http://localhost:8000/api/users/', { + cy.intercept('http://localhost:8000/api/users/*', { fixture: 'users/users.json', }) - cy.intercept('http://localhost:8000/api/groups/', { + cy.intercept('http://localhost:8000/api/groups/*', { fixture: 'groups/groups.json', }) 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 ce0de1b39..90e75be58 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 @@ -10,7 +10,7 @@ Paperless-ngx -
+
@@ -39,7 +39,7 @@

Logged in as {{this.settingsService.displayName}}

- + Settings @@ -72,7 +72,7 @@  Dashboard - -
+
-
+
@@ -127,35 +127,35 @@ Manage