diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue index 7665b02f794..e7dc7086492 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -1049,6 +1049,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) {