Skip to content

Commit

Permalink
fix(alerts): fix visibility filter action
Browse files Browse the repository at this point in the history
  • Loading branch information
landonreed committed Nov 27, 2018
1 parent 2460b2e commit a55f78d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lib/alerts/actions/visibilityFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ export const setAlertSort = createAction(
type: string
}) => payload
)
export const setVisibilityFilter = createVoidPayloadAction('SET_ALERT_VISIBILITY_FILTER')
export const setVisibilityFilter = createAction(
'SET_ALERT_VISIBILITY_FILTER',
(payload: string) => payload
)
export const setVisibilitySearchText = createAction(
'SET_ALERT_VISIBILITY_SEARCH_TEXT',
(payload: string) => payload
Expand Down
2 changes: 1 addition & 1 deletion lib/alerts/components/AlertsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type Props = {
searchTextChanged: string => void,
sortChanged: ({direction: string, type: string}) => void,
visibilityFilter: AlertFilter,
visibilityFilterChanged: any => void
visibilityFilterChanged: string => void
}

export default class AlertsList extends Component<Props> {
Expand Down

0 comments on commit a55f78d

Please sign in to comment.