Skip to content

Commit

Permalink
8693uy5pj: Reference IDs for start / end tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tomolopolis committed Feb 15, 2024
1 parent 2719b70 commit b094017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/frontend/src/components/common/ClinicalText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ export default {
styleClass = `highlight-task-${btnIndex}`
}
if (this.ents[i] === this.currentRelStartEnt) {
if (this.ents[i].id === this.currentRelStartEnt.id) {
styleClass += ' current-rel-start'
} else if (this.ents[i] === this.currentRelEndEnt) {
} else if (this.ents[i].id === this.currentRelEndEnt.id) {
styleClass += ' current-rel-end'
}
Expand Down

0 comments on commit b094017

Please sign in to comment.