This is an automated email from the ASF dual-hosted git repository.

robin0716 pushed a commit to branch feat/1.7.2/ui
in repository https://gitbox.apache.org/repos/asf/answer.git


The following commit(s) were added to refs/heads/feat/1.7.2/ui by this push:
     new 69c2c518 fix(plugins): clear replacement plugins on refresh to ensure 
proper reinitialization
69c2c518 is described below

commit 69c2c518c68fe7b4d482a36cbe3eb19105b450e6
Author: robin <[email protected]>
AuthorDate: Thu Dec 25 14:53:43 2025 +0800

    fix(plugins): clear replacement plugins on refresh to ensure proper 
reinitialization
---
 ui/src/utils/pluginKit/index.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/utils/pluginKit/index.ts b/ui/src/utils/pluginKit/index.ts
index b62d3f59..fc892614 100644
--- a/ui/src/utils/pluginKit/index.ts
+++ b/ui/src/utils/pluginKit/index.ts
@@ -86,6 +86,7 @@ class Plugins {
 
   async refresh() {
     this.plugins = [];
+    this.replacementPlugins.clear();
     this.isInitialized = false;
     this.initializationError = null;
     this.initialization = this.init();

Reply via email to