mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
ESLINT: Addressed remaining detected issues
This commit is contained in:
@ -31,7 +31,8 @@ export class EntitySearch extends Component {
|
||||
runSearch() {
|
||||
const term = this.searchInput.value.trim();
|
||||
if (term.length === 0) {
|
||||
return this.clearSearch();
|
||||
this.clearSearch();
|
||||
return;
|
||||
}
|
||||
|
||||
this.searchView.classList.remove('hidden');
|
||||
|
Reference in New Issue
Block a user