From e1a306340dada43eb63bb19e970fc52a1d89a42b 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 27d917e2c27..38f58abf353 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -905,8 +905,9 @@ export default { this.advancedSectionAccordionExpanded = true } - if (this.share.note) { + if (this.isValidShareAttribute(this.share.note)) { this.writeNoteToRecipientIsChecked = true + this.advancedSectionAccordionExpanded = true } },