summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'webapp')
-rw-r--r--webapp/.angular-cli.json10
-rw-r--r--webapp/src/app/pages/supervision/supervision-config.component.scss7
-rw-r--r--webapp/src/app/pages/targets/target-add-modal/target-add-modal.component.ts2
3 files changed, 11 insertions, 8 deletions
diff --git a/webapp/.angular-cli.json b/webapp/.angular-cli.json
index 9aa0157..e257100 100644
--- a/webapp/.angular-cli.json
+++ b/webapp/.angular-cli.json
@@ -47,14 +47,16 @@
},
"lint": [
{
- "files": "src/**/*.ts",
- "project": "src/tsconfig.app.json"
+ "project": "src/tsconfig.app.json",
+ "exclude": "**/node_modules/**"
},
{
- "project": "src/tsconfig.spec.json"
+ "project": "src/tsconfig.spec.json",
+ "exclude": "**/node_modules/**"
},
{
- "project": "e2e/tsconfig.e2e.json"
+ "project": "e2e/tsconfig.e2e.json",
+ "exclude": "**/node_modules/**"
}
],
"test": {
diff --git a/webapp/src/app/pages/supervision/supervision-config.component.scss b/webapp/src/app/pages/supervision/supervision-config.component.scss
index ea263cc..7b8d318 100644
--- a/webapp/src/app/pages/supervision/supervision-config.component.scss
+++ b/webapp/src/app/pages/supervision/supervision-config.component.scss
@@ -111,15 +111,16 @@ button#stop-trace {
margin-left: 10px;
}
+#ws-client {
+ fill: green;
+}
+
svg#graph {
.link {
fill: none;
stroke: #666;
stroke-width: 1.5px;
}
- #ws-client {
- fill: green;
- }
.link.ws-client {
stroke: green;
}
diff --git a/webapp/src/app/pages/targets/target-add-modal/target-add-modal.component.ts b/webapp/src/app/pages/targets/target-add-modal/target-add-modal.component.ts
index 6260b87..7545845 100644
--- a/webapp/src/app/pages/targets/target-add-modal/target-add-modal.component.ts
+++ b/webapp/src/app/pages/targets/target-add-modal/target-add-modal.component.ts
@@ -161,7 +161,7 @@ export class TargetAddModalComponent implements OnInit {
}
private _isIPv4(str) {
- const ipv4Maybe = /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/
+ const ipv4Maybe = /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/;
if (!ipv4Maybe.test(str)) {
return false;
}