Skip to content

Commit

Permalink
resolved issues
Browse files Browse the repository at this point in the history
Signed-off-by: Atif Ali <atali@redhat.com>
  • Loading branch information
aali309 committed Nov 20, 2024
1 parent 4a14549 commit c468c88
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ export const ApplicationOperationState: React.StatelessComponent<Props> = ({appl
pass = false;
}

if (pass && messageFilters.length !== 0 && !messageFilters.includes(r.message)) {
pass = false;
if (pass && messageFilters.length !== 0) {
pass = messageFilters.some(filter => r.message?.toLowerCase().includes(filter.toLowerCase()));
}

return pass;
Expand Down Expand Up @@ -211,7 +211,6 @@ export const ApplicationOperationState: React.StatelessComponent<Props> = ({appl
<Filter options={Statuses} filters={filters} setFilters={setFilters} title='STATUS' style={{marginRight: '5px'}} />
<Filter options={OperationPhases} filters={filters} setFilters={setFilters} title='HOOK' />
<Filter options={MessageStatuses} filters={messageFilters} setFilters={setMessageFilters} title='MESSAGE' />

</div>
</div>
<div className='argo-table-list'>
Expand Down

0 comments on commit c468c88

Please sign in to comment.