Skip to content

Commit

Permalink
fix: Read-only session tool comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
MoritzWeber0 committed Jun 1, 2023
1 parent a7aaaa9 commit fc5bd8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class CreateReadonlySessionComponent implements OnInit {
}

get tools(): Tool[] | undefined {
let toolIds = this.models?.map((m) => m.id);
let toolIds = this.models?.map((m) => m.tool.id);
return this.toolService.tools?.filter((t) => toolIds?.includes(t.id));
}

Expand Down

0 comments on commit fc5bd8a

Please sign in to comment.