From f571a8bf53280b2512ab1d83c33cd1e1bb50884c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kuty=C5=82a?= Date: Tue, 7 Sep 2021 21:36:51 +0200 Subject: [PATCH] 17585: Added data-cy attribute MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- .../collection-panel-files/collection-panel-files.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/collection-panel-files/collection-panel-files.tsx b/src/components/collection-panel-files/collection-panel-files.tsx index e5b88f2f..12dd554c 100644 --- a/src/components/collection-panel-files/collection-panel-files.tsx +++ b/src/components/collection-panel-files/collection-panel-files.tsx @@ -235,6 +235,8 @@ export const CollectionPanelFiles = withStyles(styles)(connect((state: RootState React.useEffect(() => { if (rightKey) { fetchData(rightKey); + setLeftSearch(''); + setRightSearch(''); } }, [rightKey]); // eslint-disable-line react-hooks/exhaustive-deps @@ -376,7 +378,7 @@ export const CollectionPanelFiles = withStyles(styles)(connect((state: RootState ); return ( -
+
{ path -- 2.30.2