Merge pull request #60378 from nextcloud/fix-error-when-creating-mail-shares-if-custom-tokens-are-enabled

Fix error when creating mail shares if custom tokens are enabled
This commit is contained in:
Daniel Calviño Sánchez 2026-05-18 16:16:50 +02:00 committed by GitHub
commit 1277dca7e9
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

@ -16,7 +16,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

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

File diff suppressed because one or more lines are too long

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

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

File diff suppressed because one or more lines are too long

View file

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long