mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 18:59:27 +00:00
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:
parent
aab4965a4d
commit
8988781d26
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue