Skip to content

Commit

Permalink
[Bug]: Services without model mapping are displayed in Models UI #1980
Browse files Browse the repository at this point in the history
  • Loading branch information
olgenn committed Nov 14, 2024
1 parent bdcccb4 commit 663e1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/Models/List/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const List: React.FC = () => {
return (
_sortBy<IRun>(data, [(i) => -i.submitted_at])
// Should show models of active runs only
.filter((run) => unfinishedRuns.includes(run.status))
.filter((run) => unfinishedRuns.includes(run.status) && run.service?.model)
.reduce<IModelExtended[]>((acc, run) => {
const model = getExtendedModelFromRun(run);

Expand Down

0 comments on commit 663e1c5

Please sign in to comment.