diff --git a/apps/files_sharing/src/views/SharingDetailsTab.vue b/apps/files_sharing/src/views/SharingDetailsTab.vue index 120ff230ff2..fc145396195 100644 --- a/apps/files_sharing/src/views/SharingDetailsTab.vue +++ b/apps/files_sharing/src/views/SharingDetailsTab.vue @@ -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) { diff --git a/build/eslint-baseline-legacy.json b/build/eslint-baseline-legacy.json index 1240b085863..f8bffbbed26 100644 --- a/build/eslint-baseline-legacy.json +++ b/build/eslint-baseline-legacy.json @@ -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": {