aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornfebe <fenn25.fn@gmail.com>2025-05-14 11:30:37 +0100
committerF. E Noel Nfebe <fenn25.fn@gmail.com>2025-05-14 22:39:15 +0200
commit63cf3f53c3ae6be44f668d3cc1569735051a74e9 (patch)
tree574055da379e7cf33d0e245cb99bd850317b3fd1
parentae639457364758c2d82edc904f73fc8f962a4793 (diff)
downloadnextcloud-server-63cf3f53c3ae6be44f668d3cc1569735051a74e9.tar.gz
nextcloud-server-63cf3f53c3ae6be44f668d3cc1569735051a74e9.zip
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>
-rw-r--r--apps/files_sharing/src/views/SharingDetailsTab.vue3
1 files changed, 2 insertions, 1 deletions
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
}
},