mirror of
https://github.com/dergigi/boris.git
synced 2026-01-25 09:44:48 +01:00
feat(links): add /me/links/:filter routes and mirror Reads filters/state for Links tab
This commit is contained in:
@@ -151,6 +151,12 @@ const Me: React.FC<MeProps> = ({
|
||||
} else {
|
||||
navigate(`/me/reads/${filter}`, { replace: true })
|
||||
}
|
||||
} else if (activeTab === 'links') {
|
||||
if (filter === 'all') {
|
||||
navigate('/me/links', { replace: true })
|
||||
} else {
|
||||
navigate(`/me/links/${filter}`, { replace: true })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user