From 5106959c3f0ca7c712daa325191c9edd11935064 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 15 Jan 2025 10:40:05 +0100 Subject: [PATCH] fix(files_sharing): Stop overwriting the share expiration date with the default expiration date Signed-off-by: provokateurin --- apps/files_sharing/src/components/SharingEntryLink.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/files_sharing/src/components/SharingEntryLink.vue b/apps/files_sharing/src/components/SharingEntryLink.vue index 3f68a3c43bcb4..0c0a71f26b758 100644 --- a/apps/files_sharing/src/components/SharingEntryLink.vue +++ b/apps/files_sharing/src/components/SharingEntryLink.vue @@ -588,10 +588,7 @@ export default { }, }, mounted() { - if (this.share) { - this.defaultExpirationDateEnabled = this.config.defaultExpirationDate instanceof Date - this.share.expireDate = this.defaultExpirationDateEnabled ? this.formatDateToString(this.config.defaultExpirationDate) : '' - } + this.defaultExpirationDateEnabled = this.config.defaultExpirationDate instanceof Date }, methods: {