From 5e2c837f117dc37adfb41b4c56eae4f780290b74 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 17 Apr 2024 19:15:06 +0200 Subject: [PATCH] fix(sharing): store internal expire date when enabling Signed-off-by: Arthur Schiwon --- apps/files_sharing/src/components/SharingEntry.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index 92527a8f14a..baf0863e322 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -370,6 +370,9 @@ export default { ? this.formatDateToString(defaultExpirationDate) : '' console.debug('Expiration date status', enabled, this.share.expireDate) + if (enabled) { + this.queueUpdate('expireDate') + } }, },