Skip to content

Commit 76e94f1

Browse files
fix(content-sharing): Shared link modal and collaborators (#4360)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 2f025e3 commit 76e94f1

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"@box/metadata-view": "^1.10.0",
141141
"@box/react-virtualized": "^9.22.3-rc-box.10",
142142
"@box/types": "^0.2.1",
143-
"@box/unified-share-modal": "^1.5.1",
143+
"@box/unified-share-modal": "^1.7.1",
144144
"@box/user-selector": "^1.23.25",
145145
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
146146
"@chromatic-com/storybook": "^4.0.1",
@@ -310,7 +310,7 @@
310310
"@box/metadata-view": "^1.10.0",
311311
"@box/react-virtualized": "^9.22.3-rc-box.10",
312312
"@box/types": "^0.2.1",
313-
"@box/unified-share-modal": "^1.5.1",
313+
"@box/unified-share-modal": "^1.7.1",
314314
"@box/user-selector": "^1.23.25",
315315
"@hapi/address": "^2.1.4",
316316
"@tanstack/react-virtual": "^3.13.12",

src/elements/content-sharing/hooks/useSharingService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ export const useSharingService = ({
3131
}
3232

3333
if (itemType === TYPE_FILE) {
34-
return api.getFileAPI();
34+
return api.getFileAPI(false);
3535
}
3636

3737
if (itemType === TYPE_FOLDER) {
38-
return api.getFolderAPI();
38+
return api.getFolderAPI(false);
3939
}
4040

4141
return null;

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,10 +1549,10 @@
15491549
resolved "https://registry.yarnpkg.com/@box/types/-/types-0.2.1.tgz#cd0a3915b2306e4cf581f6091b95f5d2db75ea60"
15501550
integrity sha512-wd6nRR9QxBl7lYKJ/Hix0AKg1PNC3leZWOJ9Nt+d4j45WxCYBiCemZAtY2ekL5BITpVw8vlLmquzSpPhDTeO5A==
15511551

1552-
"@box/unified-share-modal@^1.5.1":
1553-
version "1.5.1"
1554-
resolved "https://registry.yarnpkg.com/@box/unified-share-modal/-/unified-share-modal-1.5.1.tgz#48d5b4acc57f9987acc1d897d801248110787719"
1555-
integrity sha512-zNSxgJOSZBNH2YF1pi3SJ3+y3br3JxM5A1XGoY6KJXi+b3QcLoWwS8ZuCb6eKNvq1S9f7q7RxSpT4ENs+0BLzw==
1552+
"@box/unified-share-modal@^1.7.1":
1553+
version "1.7.1"
1554+
resolved "https://registry.yarnpkg.com/@box/unified-share-modal/-/unified-share-modal-1.7.1.tgz#f6220facfb008546352fb2dd7ec7533cfcfc6fb4"
1555+
integrity sha512-hVR37tiF/REfkQK62Xe0O+1/fHS4Uw2mutdwZhdFO3fFxEBgT8R4a861Co1pjtbWmTldGyciaI2UTStnLb/hzA==
15561556

15571557
"@box/user-selector@^1.23.25":
15581558
version "1.23.25"

0 commit comments

Comments
 (0)