diff --git a/src/components/backend-ai-storage-list.ts b/src/components/backend-ai-storage-list.ts index 7a2c094708..ad00034f92 100644 --- a/src/components/backend-ai-storage-list.ts +++ b/src/components/backend-ai-storage-list.ts @@ -1302,7 +1302,7 @@ export default class BackendAiStorageList extends BackendAIPage { - + ${_t('data.explorer.ShareFolder')}
${_t('data.explorer.People')}
@@ -3431,8 +3431,9 @@ export default class BackendAiStorageList extends BackendAIPage { let text = ''; const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; - for (let i = 0; i < 5; i++) + for (let i = 0; i < 5; i++) { text += possible.charAt(Math.floor(Math.random() * possible.length)); + } /* File upload size limits to configuration */ if (this._maxFileUploadSize > 0 && file.size > this._maxFileUploadSize) { this.notification.text =