Skip to content

Commit

Permalink
Fixing step selction in trace view
Browse files Browse the repository at this point in the history
  • Loading branch information
Joakim Gustafsson committed Feb 21, 2024
1 parent fcab51a commit 3cc4989
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ export default class AddressSpaceGraphics extends ControlMessageSplitScreen {
switch (relation.referenceTypeName) {
case 'hasTypeDefinition': // skip the boring FolderTypes
break
case 'hasNotifier': // skip the Notifiers
break
default:
this.createRelation(relation, buttonArea, x => this.convertRelationToNode(relation, buttonArea))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default class SingleTraceData {
return 'all'
}
return this.steps.find((element) => {
return element.stepId.link.programStepId === id
return element.stepId.link.ProgramStepId === id
}
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default class TraceGraphics extends BasicScreen {
if (!step) {
programStepId = 'all'
} else {
programStepId = step.stepId.link.programStepId
programStepId = step.stepId.link.ProgramStepId
}
for (const trace of this.allTraces) {
operation(trace, programStepId)
Expand Down

0 comments on commit 3cc4989

Please sign in to comment.