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 <fenn25.fn@gmail.com>
This commit is contained in:
nfebe 2025-05-14 11:30:37 +01:00 committed by Andy Scherzinger
parent 4faf51183d
commit e1a306340d

View file

@ -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
}
},