From 25670b623177ce7571bd7c740c8bfbc8b23576a3 Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Wed, 16 Sep 2020 09:58:52 +0200 Subject: [PATCH] Fix inspect results not showing becasue of missing or statement. --- web/app/static/js/modules/corpus_analysis/client/callbacks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/static/js/modules/corpus_analysis/client/callbacks.js b/web/app/static/js/modules/corpus_analysis/client/callbacks.js index a2cc29f2..00ad2934 100644 --- a/web/app/static/js/modules/corpus_analysis/client/callbacks.js +++ b/web/app/static/js/modules/corpus_analysis/client/callbacks.js @@ -74,7 +74,7 @@ function getResultsData() { let [resultsType, dataIndexes, resultsList, client, results, rest] = arguments; client.isBusy = true; client.notifyView('results-data-recieving'); - if (resultsList.exportFullInspectContext.checked) { + if (resultsList.exportFullInspectContext.checked || resultsType === 'inspect-results') { console.log('Get with full context'); client.getResultsData(resultsType, dataIndexes, results); } else {