aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2025-06-02 17:16:48 +0200
committerLouis Chemineau <louis@chmn.me>2025-06-02 17:16:48 +0200
commit65faecc4e87f47d9de70a75645dd93a3424495c3 (patch)
tree61d40beaae3c89539fffa9a299f4471e89823470
parent4cd026ad43a8a30dc1e10e008a707728877f2324 (diff)
downloadnextcloud-server-artonge/fix/do_not_pass_parent_for_activity_tab_comments_plugin.tar.gz
nextcloud-server-artonge/fix/do_not_pass_parent_for_activity_tab_comments_plugin.zip
fix(comments): Do not set parent when instantiating activity tab pluginartonge/fix/do_not_pass_parent_for_activity_tab_comments_plugin
This is necessary as the `context` variable is a vue3 instance, and vue 2 do not know how to handle it properly. Also, as far as I understand it, it is not needed. Signed-off-by: Louis Chemineau <louis@chmn.me>
-rw-r--r--apps/comments/src/comments-activity-tab.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/comments/src/comments-activity-tab.ts b/apps/comments/src/comments-activity-tab.ts
index f092f2b8f5b..c89fd4977f3 100644
--- a/apps/comments/src/comments-activity-tab.ts
+++ b/apps/comments/src/comments-activity-tab.ts
@@ -29,7 +29,6 @@ export function registerCommentsPlugins() {
}
ActivityTabPluginInstance = new ActivityTabPluginView({
el,
- parent: context,
pinia,
propsData: {
reloadCallback: reload,