From 02b5ded8403f9027d15739b1dea53ec2187bee93 Mon Sep 17 00:00:00 2001 From: Gary Kim Date: Fri, 17 Apr 2020 21:10:42 +0800 Subject: Fix share expiration date not shown Signed-off-by: Gary Kim --- apps/files_sharing/src/components/SharingEntry.vue | 1 + apps/files_sharing/src/components/SharingEntryLink.vue | 2 ++ 2 files changed, 3 insertions(+) (limited to 'apps/files_sharing/src') diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index 1daec4be479..e3f7497181f 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -92,6 +92,7 @@ :first-day-of-week="firstDay" :lang="lang" :value="share.expireDate" + value-type="format" icon="icon-calendar-dark" type="date" :not-before="dateTomorrow" diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index c7771cc8104..5e15db16685 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -104,6 +104,7 @@ :lang="lang" icon="" type="date" + value-type="format" :not-before="dateTomorrow" :not-after="dateMaxEnforced">