Skip to content

Commit

Permalink
feat(chart): Add Location filter
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Jan 17, 2023
1 parent 8db41dd commit e3a7e46
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ui/src/scenes/chart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ const Chart = () => {
(format[key][item.application.name]
? format[key][item.application.name]
: 0) + 1);

item.location &&
(format[key][item.location.name] =
(format[key][item.location.name]
? format[key][item.location.name]
: 0) + 1);
});

// Ensure dates are in order
Expand Down

0 comments on commit e3a7e46

Please sign in to comment.