You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2024/06/04 03:34:26 UTC

(incubator-answer) 01/02: refactor: Remove 'name' property from ActivatedPlugin interface and add 'enabled' property

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

shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git

commit 7d3df970e53fb2ac1b57b2b597ca6764078ffa47
Author: robin <ro...@rnode.me>
AuthorDate: Fri May 31 17:35:48 2024 +0800

    refactor: Remove 'name' property from ActivatedPlugin interface and add 'enabled' property
---
 ui/src/common/interface.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/src/common/interface.ts b/ui/src/common/interface.ts
index 700746b8..83ec1fd7 100644
--- a/ui/src/common/interface.ts
+++ b/ui/src/common/interface.ts
@@ -687,8 +687,8 @@ export interface NotificationConfig {
 }
 
 export interface ActivatedPlugin {
-  name: string;
   slug_name: string;
+  enabled: boolean;
 }
 
 export interface UserPluginsConfigRes {