mirror of
https://github.com/nextcloud/server.git
synced 2026-04-02 23:55:54 -04:00
Merge pull request #40434 from nextcloud/40431-correctly-switch-permissions-radios
Correctly switch/revert from custom to bundled perms
This commit is contained in:
commit
d32e03ddac
9 changed files with 15 additions and 13 deletions
|
|
@ -263,7 +263,7 @@ export default {
|
|||
return {
|
||||
writeNoteToRecipientIsChecked: false,
|
||||
sharingPermission: BUNDLED_PERMISSIONS.ALL.toString(),
|
||||
revertSharingPermission: null,
|
||||
revertSharingPermission: BUNDLED_PERMISSIONS.ALL.toString(),
|
||||
setCustomPermissions: false,
|
||||
passwordError: false,
|
||||
advancedSectionAccordionExpanded: false,
|
||||
|
|
@ -675,8 +675,10 @@ export default {
|
|||
}
|
||||
this.toggleCustomPermissions()
|
||||
},
|
||||
toggleCustomPermissions() {
|
||||
this.setCustomPermissions = this.sharingPermission === 'custom'
|
||||
toggleCustomPermissions(selectedPermission) {
|
||||
const isCustomPermissions = this.sharingPermission === 'custom'
|
||||
this.revertSharingPermission = !isCustomPermissions ? selectedPermission : 'custom'
|
||||
this.setCustomPermissions = isCustomPermissions
|
||||
},
|
||||
initializeAttributes() {
|
||||
|
||||
|
|
|
|||
6
dist/9794-9794.js → dist/8087-8087.js
vendored
6
dist/9794-9794.js → dist/8087-8087.js
vendored
File diff suppressed because one or more lines are too long
1
dist/8087-8087.js.map
vendored
Normal file
1
dist/8087-8087.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/9794-9794.js.map
vendored
1
dist/9794-9794.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-common.js
vendored
4
dist/core-common.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-common.js.map
vendored
2
dist/core-common.js.map
vendored
File diff suppressed because one or more lines are too long
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