From 2ca691d3b8ec2129a6d29f3b9b3203c2288216d1 Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 15 May 2022 21:09:42 -0700 Subject: [PATCH 001/173] use created_date --- .../saved-view-widget.component.html | 2 +- .../document-detail.component.html | 2 +- .../document-detail.component.ts | 34 ++----------------- src-ui/src/app/data/paperless-document.ts | 4 +++ src-ui/src/app/pipes/custom-date.pipe.ts | 2 -- src-ui/src/app/utils/date.ts | 5 --- .../app/utils/ngb-iso-date-time-adapter.ts | 23 ++++++++----- src/documents/models.py | 4 +++ src/documents/serialisers.py | 15 ++++++++ 9 files changed, 43 insertions(+), 48 deletions(-) delete mode 100644 src-ui/src/app/utils/date.ts diff --git a/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html b/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html index 50d064c37..84ee1aabe 100644 --- a/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html +++ b/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html @@ -12,7 +12,7 @@
{{toast.content}}
{{toast.actionName}}
{{ task.result }}
{{ task.result | slice:0:300 }} 300">…
- {{(document.correspondent$ | async)?.name}}: + {{(document.correspondent$ | async)?.name}}: {{document.title | documentTitle}}