Merge branch 'master'
[arvados.git] / src / components / data-explorer / data-explorer.tsx
index 1a26d5937b0f5574b921c41b302eee4bb7c415e6..af14db9c9e08818f3a9dc945718d1296f707d5e8 100644 (file)
@@ -69,7 +69,9 @@ type DataExplorerProps<T> = DataExplorerDataProps<T> & DataExplorerActionProps<T
 export const DataExplorer = withStyles(styles)(
     class DataExplorerGeneric<T> extends React.Component<DataExplorerProps<T>> {
         componentDidMount() {
-            this.props.onSetColumns(this.props.columns);
+            if (this.props.onSetColumns) {
+                this.props.onSetColumns(this.props.columns);
+            }
         }
         render() {
             const {