mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #52813 from nextcloud/fix/52794/share-advanced-settings
fix(files_sharing): Show note if note exists on share
This commit is contained in:
commit
158b3ef859
11 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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
vendored
Normal file
2
dist/3982-3982.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/3982-3982.js.map
vendored
Normal file
1
dist/3982-3982.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/3982-3982.js.map.license
vendored
Symbolic link
1
dist/3982-3982.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
3982-3982.js.license
|
||||
2
dist/4589-4589.js
vendored
2
dist/4589-4589.js
vendored
File diff suppressed because one or more lines are too long
1
dist/4589-4589.js.map
vendored
1
dist/4589-4589.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/4589-4589.js.map.license
vendored
1
dist/4589-4589.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
4589-4589.js.license
|
||||
4
dist/files_sharing-files_sharing_tab.js
vendored
4
dist/files_sharing-files_sharing_tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-files_sharing_tab.js.map
vendored
2
dist/files_sharing-files_sharing_tab.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue