mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35:22 +03:00
Make page reload so retain button state sticks
This commit is contained in:
parent
dacf4f20d1
commit
f18aeac512
@ -86,6 +86,7 @@ export default function Event({ eventId, close, scrollRef }) {
|
|||||||
|
|
||||||
if (success) {
|
if (success) {
|
||||||
setIsRetained(!isRetained);
|
setIsRetained(!isRetained);
|
||||||
|
window.location.reload(); // Need to reload page otherwise retain won't stick
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user