Skip to content

Commit b1c74fd

Browse files
committed
cleanup
1 parent 44e8f97 commit b1c74fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/src/components/integrations/pipedream/pipedream-app-browser.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ export const PipedreamAppBrowser: React.FC<PipedreamAppBrowserProps> = ({
5959
app.id.toLowerCase().includes(searchQuery.toLowerCase());
6060

6161
const matchesCategory = !selectedCategory ||
62-
app.category === selectedCategory;
62+
app.categories.includes(selectedCategory);
6363

6464
return matchesSearch && matchesCategory;
6565
});
6666

6767
const categories = Array.from(
68-
new Set(apps.map(app => app.category).filter(Boolean))
68+
new Set(apps.flatMap(app => app.categories).filter(Boolean))
6969
).sort();
7070

7171
return (
@@ -150,9 +150,9 @@ export const PipedreamAppBrowser: React.FC<PipedreamAppBrowserProps> = ({
150150
}}
151151
>
152152
<div className="flex items-center gap-3 w-full">
153-
{app.logo_url ? (
153+
{app.img_src ? (
154154
<img
155-
src={app.logo_url}
155+
src={app.img_src}
156156
alt={app.name}
157157
className="w-8 h-8 rounded"
158158
onError={(e) => {

0 commit comments

Comments
 (0)