mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Fix inspector-monitor filter
This commit is contained in:
parent
2ec10f00ee
commit
fea1632689
|
@ -154,6 +154,7 @@ export default class ActionList<
|
|||
hideMainButtons={hideMainButtons}
|
||||
hasSkippedActions={skippedActionIds.length > 0}
|
||||
hasStagedActions={actionIds.length > 1}
|
||||
searchValue={searchValue}
|
||||
/>
|
||||
<div
|
||||
data-testid="actionListRows"
|
||||
|
|
|
@ -16,6 +16,7 @@ interface Props {
|
|||
hideMainButtons: boolean | undefined;
|
||||
hasSkippedActions: boolean;
|
||||
hasStagedActions: boolean;
|
||||
searchValue: string | undefined;
|
||||
}
|
||||
|
||||
const ActionListHeader: FunctionComponent<Props> = ({
|
||||
|
@ -26,12 +27,14 @@ const ActionListHeader: FunctionComponent<Props> = ({
|
|||
onCommit,
|
||||
onSweep,
|
||||
hideMainButtons,
|
||||
searchValue,
|
||||
}) => (
|
||||
<div {...styling('actionListHeader')}>
|
||||
<input
|
||||
{...styling('actionListHeaderSearch')}
|
||||
onChange={(e) => onSearch(e.target.value)}
|
||||
placeholder="filter..."
|
||||
value={searchValue}
|
||||
/>
|
||||
{!hideMainButtons && (
|
||||
<div {...styling('actionListHeaderWrapper')}>
|
||||
|
|
Loading…
Reference in New Issue
Block a user