Merge branch 'master' into 14466-handling-an-error-which-occurs-when-trying-to-upload...
[arvados.git] / src / store / data-explorer / data-explorer-reducer.ts
index d3a4389193c73d4adb6b2c52f6c891ce089e8211..1657ab70ed7bc1fbe13bc4c691f38d41084f45c2 100644 (file)
@@ -65,7 +65,7 @@ export const dataExplorerReducer = (state: DataExplorerState = {}, action: DataE
 export const getDataExplorer = (state: DataExplorerState, id: string) =>
     state[id] || initialDataExplorer;
 
-export const getSortColumns = (dataExplorer: DataExplorer) => dataExplorer.columns.find((c: any) =>
+export const getSortColumn = (dataExplorer: DataExplorer) => dataExplorer.columns.find((c: any) =>
     !!c.sortDirection && c.sortDirection !== SortDirection.NONE);
 
 const update = (state: DataExplorerState, id: string, updateFn: (dataExplorer: DataExplorer) => DataExplorer) =>