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 e786bd60c2
commit bd46760586

View file

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