Skip to content

Commit

Permalink
feat: add receiver's webhook path to searchable fields
Browse files Browse the repository at this point in the history
  • Loading branch information
okaufmann committed Oct 28, 2023
1 parent b7635af commit 2868ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/notifications/receivers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class FluxCDReceivers extends React.Component<{ extension: Renderer.LensE
[sortBy.status]: (receiver: Receiver) => getStatusMessage(receiver),
[sortBy.age]: (receiver: Receiver) => receiver.getCreationTimestamp(),
}}
searchFilters={[(receiver: Receiver) => receiver.getSearchFields()]}
searchFilters={[(receiver: Receiver) => [...receiver.getSearchFields(), receiver.status?.webhookPath]]}
renderHeaderTitle="Receiver"
renderTableHeader={[
{ title: 'Name', className: 'name', sortBy: sortBy.name },
Expand Down

0 comments on commit 2868ab5

Please sign in to comment.