Browse Source

Merge pull request #52813 from nextcloud/fix/52794/share-advanced-settings

fix(files_sharing): Show note if note exists on share
pull/52000/merge
F. E Noel Nfebe 6 months ago
committed by GitHub
parent
commit
158b3ef859
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      apps/files_sharing/src/views/SharingDetailsTab.vue
  2. 3
      cypress/e2e/files_sharing/note-to-recipient.cy.ts
  3. 2
      dist/3982-3982.js
  4. 0
      dist/3982-3982.js.license
  5. 1
      dist/3982-3982.js.map
  6. 1
      dist/3982-3982.js.map.license
  7. 2
      dist/4589-4589.js
  8. 1
      dist/4589-4589.js.map
  9. 1
      dist/4589-4589.js.map.license
  10. 4
      dist/files_sharing-files_sharing_tab.js
  11. 2
      dist/files_sharing-files_sharing_tab.js.map

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

3
cypress/e2e/files_sharing/note-to-recipient.cy.ts

@ -80,8 +80,6 @@ describe('files_sharing: Note to recipient', { testIsolation: true }, () => {
cy.get('[data-cy-sidebar]').within(() => {
// Open the share
cy.get('[data-cy-files-sharing-share-actions]').first().click({ force: true })
// Open the custom settings
cy.get('[data-cy-files-sharing-share-permissions-bundle="custom"]').click()
cy.findByRole('checkbox', { name: /note to recipient/i })
.and('be.checked')
@ -90,4 +88,5 @@ describe('files_sharing: Note to recipient', { testIsolation: true }, () => {
.and('have.value', 'Hello, this is the note.')
})
})
})

2
dist/3982-3982.js
File diff suppressed because it is too large
View File

0
dist/4589-4589.js.license → dist/3982-3982.js.license

1
dist/3982-3982.js.map
File diff suppressed because it is too large
View File

1
dist/3982-3982.js.map.license

@ -0,0 +1 @@
3982-3982.js.license

2
dist/4589-4589.js
File diff suppressed because it is too large
View File

1
dist/4589-4589.js.map
File diff suppressed because it is too large
View File

1
dist/4589-4589.js.map.license

@ -1 +0,0 @@
4589-4589.js.license

4
dist/files_sharing-files_sharing_tab.js
File diff suppressed because it is too large
View File

2
dist/files_sharing-files_sharing_tab.js.map
File diff suppressed because it is too large
View File

Loading…
Cancel
Save