We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34ada34 commit 908d391Copy full SHA for 908d391
dashboard/ui/src/pages/dashboard.js
@@ -146,8 +146,9 @@ function Dashboard() {
146
const filteredServices = services.filter(service => {
147
const matchesSearchTerm = service.name.toLowerCase().includes(searchTerm.toLowerCase());
148
const matchesTagSearch = service.tags.some(tag => tag.toLowerCase().includes(searchTerm.toLowerCase()));
149
+ const matchesPicsSearch = service.pics.some(pic => pic.toLowerCase().includes(searchTerm.toLowerCase()));
150
const matchesTag = selectedTag ? service.tags.includes(selectedTag) : true;
- return (matchesSearchTerm || matchesTagSearch) && matchesTag;
151
+ return (matchesSearchTerm || matchesTagSearch || matchesPicsSearch) && matchesTag;
152
});
153
154
return (
0 commit comments