From c606295ea6be8eaad4ea605cbf2cb2c85848156f Mon Sep 17 00:00:00 2001 From: crazywoola <100913391+crazywoola@users.noreply.github.com> Date: Thu, 11 Jul 2024 11:09:14 +0800 Subject: [PATCH] fix: data not updated (#6161) --- web/app/components/tools/provider/detail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/tools/provider/detail.tsx b/web/app/components/tools/provider/detail.tsx index f398f9292..ee02e4966 100644 --- a/web/app/components/tools/provider/detail.tsx +++ b/web/app/components/tools/provider/detail.tsx @@ -117,7 +117,7 @@ const ProviderDetail = ({ provider: collection.name, }) setIsDetailLoading(false) - }, [collection.name]) + }, [collection.labels, collection.name]) // workflow provider const [isShowEditWorkflowToolModal, setIsShowEditWorkflowToolModal] = useState(false) const getWorkflowToolProvider = useCallback(async () => {