mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 22:57:40 +03:00
fix: pass camera name to Review page when navigating from Live Camera View
When clicking the History button on a specific camera's Live view, append `?cameras=<camera_name>` to the review URL so the camera filter is pre-set to that camera instead of showing "All Cameras". The Events (Review) page already supports reading the `cameras` URL parameter via useSearchEffect - no changes needed there. Fixes: #12776, #16987 https://claude.ai/code/session_01PnMA1HcuKsEXcvVLaXRgF1
This commit is contained in:
parent
c01fd3f38c
commit
ee7f0c6717
@ -485,7 +485,7 @@ export default function LiveCameraView({
|
||||
aria-label={t("history.label")}
|
||||
size="sm"
|
||||
onClick={() => {
|
||||
navigate("review", {
|
||||
navigate(`review?cameras=${camera.name}`, {
|
||||
state: {
|
||||
severity: "alert",
|
||||
recording: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user