π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
Fix filter issue, cause by empty attributes
Alicia Sykes581c60f41a02
diff --git a/src/views/Home.vue b/src/views/Home.vueindex 10d50e4d..97bf65bb 100644--- a/src/views/Home.vue+++ b/src/views/Home.vue@@ -56,10 +56,14 @@ export default {},filterTiles(allTiles) {return allTiles.filter((tile) => {+ const {+ title, description, provider, url,+ } = tile;const searchTerm = this.searchTile.toLowerCase();- return tile.title.toLowerCase().includes(searchTerm)- || tile.provider.toLowerCase().includes(searchTerm)- || this.getDomainFromUrl(tile.url).includes(searchTerm);+ return (title && title.toLowerCase().includes(searchTerm))+ || (provider && provider.toLowerCase().includes(searchTerm))+ || (description && description.toLowerCase().includes(searchTerm))+ || this.getDomainFromUrl(url).includes(searchTerm);});},},