Remove search history from context menu
Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7 Reviewed By: LukeDefeo Differential Revision: D49410968 fbshipit-source-id: a5160bb5d392f3884d46a3a390aa9e274d0230ea
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d09dde724b
commit
a86c8b412f
@@ -180,16 +180,6 @@ export function tableContextMenuFactory<T extends object>(
|
||||
}}>
|
||||
Reset view
|
||||
</Menu.Item>
|
||||
|
||||
<SubMenu title="Search Options" key="search options">
|
||||
<Menu.Item
|
||||
key="clear history"
|
||||
onClick={() => {
|
||||
dispatch({type: 'clearSearchHistory'});
|
||||
}}>
|
||||
Clear search history
|
||||
</Menu.Item>
|
||||
</SubMenu>
|
||||
{sideBySideOption}
|
||||
</Menu>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user