diff options
author | fenn-cs <fenn25.fn@gmail.com> | 2024-07-05 21:25:54 +0100 |
---|---|---|
committer | fenn-cs <fenn25.fn@gmail.com> | 2024-07-05 21:26:13 +0100 |
commit | 7e208977dcd0aa0ce2b6a51b4a12e6bb98cdc4d9 (patch) | |
tree | d2282d6ae0968177e749c8493c2cec5d73faa69c /apps/files_sharing/src/components/SharingEntry.vue | |
parent | 656e109d2fe4aa8af3b68350cb1be342c4f4a5b8 (diff) | |
download | nextcloud-server-fix/update-share-entry-quick-select.tar.gz nextcloud-server-fix/update-share-entry-quick-select.zip |
WIP: Update quick share select optionfix/update-share-entry-quick-select
`SharingEntryQuickSelect` should respond to changes and reflect the new state of shares
when updates are done in the `SharingDetailsTab`
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntry.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntry.vue | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index 23127a6fe16..40cae7d1ca3 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -63,6 +63,20 @@ export default { }, mixins: [SharesMixin, ShareDetails], + props: { + share: { + type: Object, + required: true, + }, + fileInfo: { + type: Object, + required: true, + }, + isUnique: { + type: Boolean, + required: true, + }, + }, computed: { title() { @@ -119,6 +133,11 @@ export default { this.onNoteSubmit() }, }, + watch: { + share(newShare) { + console.log('Shareeeeee prop changed:', newShare) + } + }, } </script> |