mirror of
https://github.com/status-im/ETHReport.git
synced 2025-01-20 19:29:54 +00:00
Multiple search answers
This commit is contained in:
parent
76bcc1989b
commit
b556b04b8f
@ -191,7 +191,7 @@ class BrowseArchives extends React.Component {
|
||||
if (index !== -1 && interview.activeIndex !== -1) {
|
||||
foundIndex = questionIndex;
|
||||
positionInAnswer = index;
|
||||
matchingQuestionAnswerPositions.push({
|
||||
matchingQuestionAnswerPositions.push({
|
||||
id: question.question,
|
||||
strpos: index,
|
||||
answer: question.answer,
|
||||
@ -206,9 +206,6 @@ class BrowseArchives extends React.Component {
|
||||
interviewData,
|
||||
});
|
||||
|
||||
// eslint-disable-next-line
|
||||
console.log(matchingQuestionAnswerPositions);
|
||||
|
||||
if (matchingQuestions.length > 0) {
|
||||
return {
|
||||
found: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user