mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
add search support
This commit is contained in:
@@ -45,7 +45,15 @@ export function FeedEntriesPage(props: FeedEntriesPageProps) {
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
dispatch(loadEntries({ type: props.sourceType, id }))
|
||||
dispatch(
|
||||
loadEntries({
|
||||
source: {
|
||||
type: props.sourceType,
|
||||
id,
|
||||
},
|
||||
clearSearch: true,
|
||||
})
|
||||
)
|
||||
}, [dispatch, props.sourceType, id, location.state])
|
||||
|
||||
const noSubscriptions = rootCategory && flattenCategoryTree(rootCategory).every(c => c.feeds.length === 0)
|
||||
|
||||
Reference in New Issue
Block a user