From cb160212d4e0bc9d14af0054908f7814e45bed5c Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 17 May 2024 10:20:40 -0700 Subject: [PATCH] Fix: consistently use created_date for doc display (#6758) --- .../document-card-large/document-card-large.component.html | 2 +- .../document-card-small/document-card-small.component.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html index ad9ce2e89..51f51a517 100644 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html +++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html @@ -95,7 +95,7 @@ @if (displayFields.includes(DisplayField.CREATED) || displayFields.includes(DisplayField.ADDED)) {
- Created: {{ document.created | customDate }} + Created: {{ document.created_date | customDate }} Added: {{ document.added | customDate }} Modified: {{ document.modified | customDate }}
diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html index 5d565ddf2..9667163fb 100644 --- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html +++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html @@ -62,14 +62,14 @@
- Created: {{ document.created | customDate }} + Created: {{ document.created_date | customDate }} Added: {{ document.added | customDate }} Modified: {{ document.modified | customDate }}
- {{document.created | customDate:'mediumDate'}} + {{document.created_date | customDate:'mediumDate'}}
}