Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/src/models/Share.js')
-rw-r--r--apps/files_sharing/src/models/Share.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/src/models/Share.js b/apps/files_sharing/src/models/Share.js
index 0e96987c005..e6512c67f8c 100644
--- a/apps/files_sharing/src/models/Share.js
+++ b/apps/files_sharing/src/models/Share.js
@@ -50,6 +50,7 @@ export default class Share {
console.warn('Could not parse share attributes returned by server: "' + ocsData.attributes + '"')
}
}
+ ocsData.attributes = ocsData.attributes ?? []
// store state
this._share = ocsData