From 51fe3dde400af9f9f0cbddbd84559de3f22896fd Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sun, 13 Nov 2022 13:35:43 -0700 Subject: [PATCH] Set vainfo output in error correctly --- web/src/routes/System.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/System.jsx b/web/src/routes/System.jsx index b3cc0931a..072bb75dd 100644 --- a/web/src/routes/System.jsx +++ b/web/src/routes/System.jsx @@ -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.'}) } };