Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

fix: lint

Christian Fei36b36e601135
diff --git a/lib/repository.js b/lib/repository.js
index df68a40..75323f8 100644
--- a/lib/repository.js
+++ b/lib/repository.js
@@ -95,8 +95,8 @@ export default class Repository {
videos = videos
.filter(v => v.channelName)
.filter(v => {
- return v.channelName.toLowerCase().includes(searchTerm.substring(1))
- })
+ return v.channelName.toLowerCase().includes(searchTerm.substring(1))
+ })
} else {
videos = videos.filter(v => {
return v.channelName?.toLowerCase().includes(searchTerm) ||