Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

You can now filter not only by name, but also description, url etc- awesome

Alicia Sykes5e56e0c3c7e9
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 899325f8..07b23b91 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -41,7 +41,10 @@ export default {
},
filterTiles (allTiles) {
return allTiles.filter(tile => {
- return tile.title.toLowerCase().includes(this.searchTile.toLowerCase())
+ const searchTerm = this.searchTile.toLowerCase()
+ return tile.title.toLowerCase().includes(searchTerm) ||
+ tile.description.toLowerCase().includes(searchTerm) ||
+ tile.url.toLowerCase().includes(searchTerm)
})
}
},