forked from p15670423/monkey
Logo doesn't work - leave it for now, also move the show notification to only when changed.
also added dev mode to package.json - this helps with debugging JS errors live in chrome. use with 'npm run dev'
This commit is contained in:
parent
34d82020e9
commit
30e892b1c7
|
@ -6,6 +6,7 @@
|
|||
"clean": "rimraf dist/*",
|
||||
"copy": "copyfiles -f ./src/index.html ./src/favicon.ico ./dist",
|
||||
"dist": "webpack --mode production",
|
||||
"dev": "webpack --mode development",
|
||||
"lint": "eslint ./src",
|
||||
"posttest": "npm run lint",
|
||||
"release:major": "npm version major && npm publish && git push --follow-tags",
|
||||
|
|
|
@ -52,6 +52,7 @@ class AppComponent extends AuthComponent {
|
|||
}
|
||||
if (isChanged) {
|
||||
this.setState({completedSteps: res['completed_steps']});
|
||||
this.showInfectionDoneNotification();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -107,8 +108,6 @@ class AppComponent extends AuthComponent {
|
|||
}
|
||||
|
||||
render() {
|
||||
this.showInfectionDoneNotification();
|
||||
|
||||
return (
|
||||
<Router>
|
||||
<Grid fluid={true}>
|
||||
|
@ -206,7 +205,7 @@ class AppComponent extends AuthComponent {
|
|||
"Monkey Island",
|
||||
"Infection is done. Click to see results",
|
||||
"https://localhost:5000/report",
|
||||
{logoImage});
|
||||
"");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue