add details page for "All" to be be able to get the generated feed url

This commit is contained in:
Athou
2022-08-15 09:28:03 +02:00
parent 448feedace
commit 6f26c54b62
3 changed files with 25 additions and 19 deletions

View File

@@ -29,7 +29,6 @@ export function Tree() {
}
const categoryClicked = (e: React.MouseEvent, id: string) => {
if (e.detail === 2) {
if (id === Constants.categoryIds.all) return
dispatch(redirectToCategoryDetails(id))
} else {
dispatch(redirectToCategory(id))