Skip to content

Commit

Permalink
creating ability to filter & sort by application analysis
Browse files Browse the repository at this point in the history
Signed-off-by: TalyaNaima <[email protected]>
  • Loading branch information
TalyaNaima authored and TalyaNaima committed Oct 8, 2024
1 parent b220126 commit f655fdc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ export const ApplicationsTable: React.FC = () => {
value: a?.tasks.currentAnalyzer?.state || "No Task",
label: a?.tasks.currentAnalyzer?.state || "Not Started",
}))
.filter((v, i, a) => a.findIndex((v2) => v2.label === v.label) === i)
.filter((v, i, a) => a.findIndex((v3) => v3.label === v.label) === i)
.sort((a, b) => a.value.localeCompare(b.value)),
getItemValue: (item) => item?.tasks.currentAnalyzer?.state || "No Task",
},
Expand Down

0 comments on commit f655fdc

Please sign in to comment.