diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2021-09-14 18:41:07 +0300 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2021-09-16 16:20:50 +0300 |
commit | 164b0064ed678f8f5c019d464a94afbadde7f462 (patch) | |
tree | 7e40561bdf04dface382f78b177f7315c8f7113e /apps/files_sharing/src/files_sharing_tab.js | |
parent | 959e4cb0bf768f9bd3ecd61046261cf7f7163a24 (diff) |
Add new ExternalShareActions API
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src/files_sharing_tab.js')
-rw-r--r-- | apps/files_sharing/src/files_sharing_tab.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/src/files_sharing_tab.js b/apps/files_sharing/src/files_sharing_tab.js index 2c12703ab83..8a31569d6d0 100644 --- a/apps/files_sharing/src/files_sharing_tab.js +++ b/apps/files_sharing/src/files_sharing_tab.js @@ -28,6 +28,7 @@ import { translate as t, translatePlural as n } from '@nextcloud/l10n' import SharingTab from './views/SharingTab' import ShareSearch from './services/ShareSearch' import ExternalLinkActions from './services/ExternalLinkActions' +import ExternalShareActions from './services/ExternalShareActions' import TabSections from './services/TabSections' // Init Sharing Tab Service @@ -36,6 +37,7 @@ if (!window.OCA.Sharing) { } Object.assign(window.OCA.Sharing, { ShareSearch: new ShareSearch() }) Object.assign(window.OCA.Sharing, { ExternalLinkActions: new ExternalLinkActions() }) +Object.assign(window.OCA.Sharing, { ExternalShareActions: new ExternalShareActions() }) Object.assign(window.OCA.Sharing, { ShareTabSections: new TabSections() }) Vue.prototype.t = t |