Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurik72 committed Feb 17, 2020
1 parent 188c4de commit 975c768
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions WebSource/dist/js/bundle.min.js

Large diffs are not rendered by default.

Binary file modified WebSource/dist/js/bundle.min.js.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions WebSource/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class App extends Component {
console.log("App ctor");
}
componentDidMount() {
var debug = true;
var debug = false;
console.log("App componentDidMount");
if (!debug) {
doFetch(getBaseuri() + "/get_info", (data) => { this.setHeaderdata(data) });
Expand All @@ -68,7 +68,7 @@ class App extends Component {
}
componentWillMount() {
// console.log("App componentWillMount");
var debug = true;
var debug = false;
if (debug) {
var obj = JSON.parse('[{"service":"RelayController","name":"Relay","enabled":true,"interval":100,"pin":5},{"service":"TimeController","name":"Time","enabled":true,"interval":1000,"timeoffs":7200,"dayloffs":3600,"server":"pool.ntp.org"},{"service":"RGBStripController","name":"RGBStrip","enabled":true,"interval":1,"pin":23,"numleds":8},{"service":"LDRController","name":"LDR","enabled":true,"interval":1000,"pin":0},{"service":"RFController","name":"RF","enabled":true,"interval":2,"pin":27}]');
var obj1 = JSON.parse('[{"type":"TimeToRGBStrip","source":"Time","destination":"Relay","value":[{"isOn":true,"isLdr":true,"time":"* 2 * * * *","bg":1,"wxmode":-1}]},{"type":"RFToRelay","source":"RF","destination":"Relay","value":[{"isOn":true,"isswitch":true,"rfkey":13532516}]}]');
Expand Down
10 changes: 5 additions & 5 deletions data/js/bundle.min.js

Large diffs are not rendered by default.

Binary file modified data/js/bundle.min.js.gz
Binary file not shown.

0 comments on commit 975c768

Please sign in to comment.