Merge pull request #60509 from nextcloud/backport/60378/stable33

[stable33] Fix error when creating mail shares if custom tokens are enabled
This commit is contained in:
Daniel Calviño Sánchez 2026-05-19 06:45:51 +02:00 committed by GitHub
commit d51198ca98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 11 additions and 8 deletions

View file

@ -1131,6 +1131,9 @@ export default {
// ugly hack to make code work - we need the id to be set but at the same time we need to keep values we want to update
this.share._share.id = share.id
// Similarly the token is always set by the backend when the
// share is created.
this.share._share.token = share.token
await this.queueUpdate(...permissionsAndAttributes)
// Also a ugly hack to update the updated permissions
for (const prop of permissionsAndAttributes) {

View file

@ -21,7 +21,7 @@
},
"apps/files_sharing/src/views/SharingDetailsTab.vue": {
"vue/no-mutating-props": {
"count": 23
"count": 24
}
},
"apps/files_sharing/src/views/SharingLinkList.vue": {

File diff suppressed because one or more lines are too long

View file

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

File diff suppressed because one or more lines are too long

1
dist/9007-9007.js.map vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/9007-9007.js.map.license vendored Symbolic link
View file

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long