Skip to content

Commit

Permalink
Merge pull request #294 from labmlai/default-chart
Browse files Browse the repository at this point in the history
checking current metrics bug fix
  • Loading branch information
lakshith-403 authored Sep 7, 2024
2 parents 0585141 + 843c8bc commit 997f9bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ async def create_magic_metric(request: Request, run_uuid: str) -> Any:
continue
has_current_indicators = False
for indicator_list in current_selected_indicators:
if indicator_list == preferences['series_preferences']:
if sorted(indicator_list) == sorted([x for x in preferences['series_preferences'] if x in run_indicators]):
has_current_indicators = True
break
if has_current_indicators:
Expand Down

0 comments on commit 997f9bd

Please sign in to comment.