From bd46760586603aca745cbea205d99a8d2211bc29 Mon Sep 17 00:00:00 2001 From: nfebe Date: Wed, 14 May 2025 11:30:37 +0100 Subject: [PATCH] fix(files_sharing): Show note if note exists on share When a share includes a note, ensure the note checkbox is checked and the note is displayed when reopening the share sidebar. Fixes: #52794. Signed-off-by: nfebe --- apps/files_sharing/src/views/SharingDetailsTab.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue index 76478d447b7..5329f8dfbc5 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -836,8 +836,9 @@ export default { this.advancedSectionAccordionExpanded = true } - if (this.share.note) { + if (this.isValidShareAttribute(this.share.note)) { this.writeNoteToRecipientIsChecked = true + this.advancedSectionAccordionExpanded = true } },