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 <me@sudhanshug.com>
This commit is contained in:
Sudhanshu Gautam 2019-10-04 23:56:06 +05:30
parent aab4965a4d
commit 8988781d26

View file

@ -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,
});
};