From 582c7ce348aa49afea319b5f54f08d10ed618364 Mon Sep 17 00:00:00 2001 From: StyleZhang Date: Tue, 12 Nov 2024 18:28:34 +0800 Subject: [PATCH] fix: plugin task --- .../plugins/plugin-page/plugin-tasks/index.tsx | 9 +++------ web/service/use-plugins.ts | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/web/app/components/plugins/plugin-page/plugin-tasks/index.tsx b/web/app/components/plugins/plugin-page/plugin-tasks/index.tsx index ebf2db44b6..6f4c8f390c 100644 --- a/web/app/components/plugins/plugin-page/plugin-tasks/index.tsx +++ b/web/app/components/plugins/plugin-page/plugin-tasks/index.tsx @@ -84,9 +84,6 @@ const PluginTasks = () => { isInstalling && ( ) } @@ -95,8 +92,8 @@ const PluginTasks = () => { ) } @@ -135,7 +132,7 @@ const PluginTasks = () => { diff --git a/web/service/use-plugins.ts b/web/service/use-plugins.ts index 33abac865d..fe5375b0df 100644 --- a/web/service/use-plugins.ts +++ b/web/service/use-plugins.ts @@ -120,7 +120,7 @@ export const useMutationPluginsFromMarketplace = () => { const usePluginTaskListKey = [NAME_SPACE, 'pluginTaskList'] export const usePluginTaskList = () => { - const [enabled, setEnabled] = useState(true) + const [enabled, setEnabled] = useState(false) const { data, isFetched,