mirror of
https://github.com/nextcloud/server.git
synced 2026-05-22 10:06:37 -04:00
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:
commit
1277dca7e9
10 changed files with 11 additions and 8 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
4
dist/5638-5638.js → dist/3577-3577.js
vendored
4
dist/5638-5638.js → dist/3577-3577.js
vendored
File diff suppressed because one or more lines are too long
1
dist/3577-3577.js.map
vendored
Normal file
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
1
dist/3577-3577.js.map.license
vendored
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
3577-3577.js.license
|
||||
1
dist/5638-5638.js.map
vendored
1
dist/5638-5638.js.map
vendored
File diff suppressed because one or more lines are too long
1
dist/5638-5638.js.map.license
vendored
1
dist/5638-5638.js.map.license
vendored
|
|
@ -1 +0,0 @@
|
|||
5638-5638.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