Skip to content

Commit

Permalink
Merge pull request #181 from CogStack/relation-anno-fixes
Browse files Browse the repository at this point in the history
Relation anno fixes
  • Loading branch information
tomolopolis authored Feb 19, 2024
2 parents c7aff82 + b094017 commit 2eebaa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ export default {

<style scoped lang="scss">
.relation-extraction-container {
max-height: 600px;
max-height: 500px;
overflow-y: auto;
}
.add-rel-btn {
Expand Down

0 comments on commit 2eebaa8

Please sign in to comment.