diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-15 14:09:45 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-15 14:09:45 -0800 |
| commit | 94834afbb26b576218a3d84b2187e38708301ba0 (patch) | |
| tree | ac68774d0df753cd17b4710e446585c9d41d8cb0 /frontend/src/components/FeedItems.tsx | |
| parent | 1d3ad564df8cc09b16172901916bcef9abe31ab4 (diff) | |
| download | neko-94834afbb26b576218a3d84b2187e38708301ba0.tar.gz neko-94834afbb26b576218a3d84b2187e38708301ba0.tar.bz2 neko-94834afbb26b576218a3d84b2187e38708301ba0.zip | |
Frontend: Implement multi-select feeds in sidebar (NK-p0nfoi)
Diffstat (limited to 'frontend/src/components/FeedItems.tsx')
| -rw-r--r-- | frontend/src/components/FeedItems.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/src/components/FeedItems.tsx b/frontend/src/components/FeedItems.tsx index 5220c77..30a0a7f 100644 --- a/frontend/src/components/FeedItems.tsx +++ b/frontend/src/components/FeedItems.tsx @@ -30,7 +30,11 @@ export default function FeedItems() { const params = new URLSearchParams(); if (feedId) { - params.append('feed_id', feedId); + if (feedId.includes(',')) { + params.append('feed_ids', feedId); + } else { + params.append('feed_id', feedId); + } } else if (tagName) { params.append('tag', tagName); } |
