aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/main.ts
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-07-06 19:48:32 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-07-11 13:52:28 +0200
commit1a46104d505e6cde9b35efe50defd19ea02b7d8b (patch)
treecc549f69922c52b7556edb7cf9f7462e12404b88 /apps/files_sharing/src/main.ts
parent2d6e50a8dbb075b533b31de91f015f636cc40f4e (diff)
downloadnextcloud-server-1a46104d505e6cde9b35efe50defd19ea02b7d8b.tar.gz
nextcloud-server-1a46104d505e6cde9b35efe50defd19ea02b7d8b.zip
chore: add actions testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src/main.ts')
-rw-r--r--apps/files_sharing/src/main.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/src/main.ts b/apps/files_sharing/src/main.ts
index 040dd2e17ad..8462d5b542e 100644
--- a/apps/files_sharing/src/main.ts
+++ b/apps/files_sharing/src/main.ts
@@ -22,6 +22,10 @@
*/
// register default shares types
+if (!window.OC) {
+ window.OC = {}
+}
+
Object.assign(window.OC, {
Share: {
SHARE_TYPE_USER: 0,