From 63cf3f53c3ae6be44f668d3cc1569735051a74e9 Mon Sep 17 00:00:00 2001 From: nfebe Date: Wed, 14 May 2025 11:30:37 +0100 Subject: 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 5b778223c8b..8912ff340b7 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 } }, -- cgit v1.2.3