Fix inspect context not showing error

This commit is contained in:
Stephan Porada 2020-09-16 09:40:04 +02:00
parent a63323eab7
commit dce15d2861

View File

@ -331,7 +331,8 @@ class ResultsList extends List {
this.contextResults.innerHTML = ""; // clear it from old inspects this.contextResults.innerHTML = ""; // clear it from old inspects
if (client.dynamicMode) { if (client.dynamicMode) {
this.notifyClient('get-results', {resultsType: 'inspect-results', this.notifyClient('get-results', {resultsType: 'inspect-results',
dataIndexes: [dataIndex]}); dataIndexes: [dataIndex],
resultsList: this});
} else { } else {
results.inspectResultsData.matches = [results.data.matches[dataIndex[0]]]; results.inspectResultsData.matches = [results.data.matches[dataIndex[0]]];
results.inspectResultsData.cpos_ranges = results.data.cpos_ranges; results.inspectResultsData.cpos_ranges = results.data.cpos_ranges;