From 8988781d26f1dbcc5eb85c948eadb322b48bf773 Mon Sep 17 00:00:00 2001 From: Sudhanshu Gautam Date: Fri, 4 Oct 2019 23:56:06 +0530 Subject: [PATCH] Allow building of image when config is changed set configChanged state to true when there is change in the UCI defaults text box. Fixes #18 Signed-off-by: Sudhanshu Gautam --- src/containers/home/home.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/containers/home/home.js b/src/containers/home/home.js index 38b0f32..a92bde8 100644 --- a/src/containers/home/home.js +++ b/src/containers/home/home.js @@ -219,6 +219,7 @@ class Home extends React.Component { showAdvanced: true, }); } catch (err) { + console.log(err); this.setState({ showAdvanced: false, }); @@ -308,6 +309,7 @@ class Home extends React.Component { uciDefaultsEdit = event => { this.setState({ uciDefaults: event.target.value, + configChanged: true, }); };