mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35:22 +03:00
Set vainfo output in error correctly
This commit is contained in:
parent
82e9b345bb
commit
51fe3dde40
@ -84,7 +84,7 @@ export default function System() {
|
||||
if (response.status === 200) {
|
||||
setState({ ...state, showVainfo: true, vainfo: JSON.stringify(resonse.data, null, 2)})
|
||||
} else {
|
||||
setState({ ...state, showVainfo: true, 'There was an error getting the vainfo output.'})
|
||||
setState({ ...state, showVainfo: true, vainfo: 'There was an error getting the vainfo output.'})
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user