Skip to content

Commit aec06a2

Browse files
committed
Fix: Search function
1 parent 90baa61 commit aec06a2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/App.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,11 @@ class App extends Component {
417417
noteList[i].style.display = "none";
418418
}
419419
}
420-
DisplayList.length > 0 && DisplayList[0].click();
420+
if (this.state.activepage === "editnote") {
421+
return;
422+
} else {
423+
DisplayList.length > 0 && DisplayList[0].click();
424+
}
421425
}
422426

423427
handleDownloadNote(note) {

0 commit comments

Comments
 (0)