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

mintsweet pushed a commit to branch feat-dora-config
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit e0e14423cdc903a5a451821ba4b2922b00a0e3c2
Author: mintsweet <0x1304...@gmail.com>
AuthorDate: Fri Sep 20 14:59:27 2024 +1200

    fix: not reset state in check matched items
---
 config-ui/src/plugins/components/check-matched-items/index.tsx | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/config-ui/src/plugins/components/check-matched-items/index.tsx 
b/config-ui/src/plugins/components/check-matched-items/index.tsx
index 420b739fa..ee4a613f5 100644
--- a/config-ui/src/plugins/components/check-matched-items/index.tsx
+++ b/config-ui/src/plugins/components/check-matched-items/index.tsx
@@ -51,6 +51,9 @@ export const CheckMatchedItems = ({ plugin, connectionId, 
transformation }: Prop
 
   useEffect(() => {
     dispatch({ type: 'RESET' });
+    setInitial(false);
+    setPage(1);
+    setTotal(0);
   }, [transformation.deploymentPattern, transformation.productionPattern]);
 
   const handleLoadItems = async () => {

Reply via email to