Commit 654d1162 authored by David Hoksza's avatar David Hoksza

improving deduplication results highlighting

parent e1d08525
Pipeline #6010 passed with stages
in 1 minute and 22 seconds
......@@ -535,8 +535,8 @@ function suggest() {
}).then( function (bioEntities) {
(function() {
if (rowChecked) {
// return dehighlightAllBioentities(pred.bioEntity).then(function() {
//
return dehighlightAllBioentities(pred.bioEntity).then(function() {
const highlightDefs = bioEntities.map(be => {
return {
element: {
......@@ -549,7 +549,7 @@ function suggest() {
});
return highlight(highlightDefs.concat([getHighlightDef(pred.bioEntity, false, pred.deduplicationScore)]));
// });
});
} else {
return dehighlightAllBioentities(pred.bioEntity)
// return Promise.resolve();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment