diff options
Diffstat (limited to 'apps/comments/src/comments-activity-tab.ts')
-rw-r--r-- | apps/comments/src/comments-activity-tab.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/comments/src/comments-activity-tab.ts b/apps/comments/src/comments-activity-tab.ts index f092f2b8f5b..77f6c9bca04 100644 --- a/apps/comments/src/comments-activity-tab.ts +++ b/apps/comments/src/comments-activity-tab.ts @@ -19,7 +19,7 @@ let ActivityTabPluginInstance */ export function registerCommentsPlugins() { window.OCA.Activity.registerSidebarAction({ - mount: async (el, { context, fileInfo, reload }) => { + mount: async (el, { fileInfo, reload }) => { const pinia = createPinia() if (!ActivityTabPluginView) { @@ -29,7 +29,6 @@ export function registerCommentsPlugins() { } ActivityTabPluginInstance = new ActivityTabPluginView({ el, - parent: context, pinia, propsData: { reloadCallback: reload, @@ -58,10 +57,9 @@ export function registerCommentsPlugins() { timestamp: moment(comment.props?.creationDateTime).toDate().getTime(), - mount(element: HTMLElement, { context, reload }) { + mount(element: HTMLElement, { reload }) { this._CommentsViewInstance = new CommentsViewObject({ el: element, - parent: context, propsData: { comment, resourceId: fileInfo.id, |