[ARVADOS-WORKBENCH2] updated: 1.3.0-138-ge78eb2de

Git user git at public.curoverse.com
Mon Dec 17 08:05:42 EST 2018


Summary of changes:
 src/components/data-explorer/data-explorer.tsx       | 6 +++---
 src/views-components/data-explorer/data-explorer.tsx | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

       via  e78eb2de67e896b53f02c656d6ef49e13ff65b62 (commit)
      from  ee63ba213e2e56a57e0cd49f6c7ce9bde5014f53 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e78eb2de67e896b53f02c656d6ef49e13ff65b62
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Mon Dec 17 14:05:28 2018 +0100

    cr-change-props-names
    
    Feature #14489
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/components/data-explorer/data-explorer.tsx b/src/components/data-explorer/data-explorer.tsx
index 56958c80..b6ca215d 100644
--- a/src/components/data-explorer/data-explorer.tsx
+++ b/src/components/data-explorer/data-explorer.tsx
@@ -49,7 +49,7 @@ interface DataExplorerDataProps<T> {
     paperProps?: PaperProps;
     actions?: React.ReactNode;
     hideSearchInput?: boolean;
-    currentRoute?: string;
+    paperKey?: string;
 }
 
 interface DataExplorerActionProps<T> {
@@ -81,9 +81,9 @@ export const DataExplorer = withStyles(styles)(
                 rowsPerPage, rowsPerPageOptions, onColumnToggle, searchValue, onSearch,
                 items, itemsAvailable, onRowClick, onRowDoubleClick, classes,
                 dataTableDefaultView, hideColumnSelector, actions, paperProps, hideSearchInput,
-                currentRoute
+                paperKey
             } = this.props;
-            return <Paper className={classes.root} {...paperProps} key={currentRoute}>
+            return <Paper className={classes.root} {...paperProps} key={paperKey}>
                 <Toolbar className={classes.toolbar}>
                     <Grid container justify="space-between" wrap="nowrap" alignItems="center">
                         {!hideSearchInput && <div className={classes.searchBox}>
diff --git a/src/views-components/data-explorer/data-explorer.tsx b/src/views-components/data-explorer/data-explorer.tsx
index 78b40795..8cddf3ba 100644
--- a/src/views-components/data-explorer/data-explorer.tsx
+++ b/src/views-components/data-explorer/data-explorer.tsx
@@ -24,7 +24,7 @@ const mapStateToProps = (state: RootState, { id }: Props) => {
     const progress = state.progressIndicator.find(p => p.id === id);
     const working = progress && progress.working;
     const currentRoute = state.router.location ? state.router.location.pathname : '';
-    return { ...getDataExplorer(state.dataExplorer, id), working, currentRoute };
+    return { ...getDataExplorer(state.dataExplorer, id), working, paperKey: currentRoute };
 };
 
 const mapDispatchToProps = () => {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list