Fix filter from selection
Reviewed By: LukeDefeo Differential Revision: D51425090 fbshipit-source-id: 53dda8f65d2e8d17468903c20e88d45038e65be1
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bf67b19c4a
commit
b9fa86e77f
@@ -15,7 +15,7 @@ import {
|
||||
getSelectedItems,
|
||||
getValueAtPath,
|
||||
Selection,
|
||||
} from './DataTableManager';
|
||||
} from './DataTableWithPowerSearchManager';
|
||||
import React from 'react';
|
||||
import {
|
||||
_tryGetFlipperLibImplementation,
|
||||
@@ -65,8 +65,8 @@ export function tableContextMenuFactory<T extends object>(
|
||||
key={column.key ?? idx}
|
||||
onClick={() => {
|
||||
dispatch({
|
||||
type: 'setColumnFilterFromSelection',
|
||||
column: column.key,
|
||||
type: 'setSearchExpressionFromSelection',
|
||||
column,
|
||||
});
|
||||
}}>
|
||||
{friendlyColumnTitle(column)}
|
||||
|
||||
Reference in New Issue
Block a user