Skip to content

Commit

Permalink
Hotfix: Display frontend annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
dschiese committed Jul 18, 2024
1 parent b731a34 commit 40336d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion qanary_pipeline-template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>qa.pipeline</artifactId>
<groupId>eu.wdaqua.qanary</groupId>
<version>3.9.4</version>
<version>3.9.5</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
// remove any AnnotationCount components so that props can be updated correctly
function removeAnnotationCount() {
/*<![CDATA[*/
let components = [[${componentList}]]
let components = Object.keys([[${componentList}]])
for (i = 0; i < components.length; i++) {
let element = document.getElementById("annotationcount"+components[i]);
if(element){
Expand All @@ -360,9 +360,8 @@
function getNumberOfAnnotations(graph) {
console.log(graph)
/*<![CDATA[*/
let components = [[${componentList}]]
let components = Object.keys([[${componentList}]]);
for (i = 0; i < components.length; i++) {
console.log(components[i]);
console.log(graph)
elementID = "annotationcount" + components[i];
props = {
Expand Down

0 comments on commit 40336d7

Please sign in to comment.