diff --git a/package.json b/package.json index 11d5078..970cf37 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "karma-jasmine": "~1.1.1", "ngrx-store-freeze": "^0.2.4", "npm-run-all": "^4.1.3", - "primeng": "^6.1.0", + "primeng": "^6.1.3", "primer-support": "^4.0.0", "protractor": "~5.3.0", "source-map-support": "^0.5.8", @@ -88,4 +88,4 @@ "zone.js": "^0.8.26", "ip-cidr": "^2.0.0" } -} +} \ No newline at end of file diff --git a/src/app/pages/home/home-page.component.html b/src/app/pages/home/home-page.component.html index 1029f4e..402f3bb 100644 --- a/src/app/pages/home/home-page.component.html +++ b/src/app/pages/home/home-page.component.html @@ -72,6 +72,8 @@ + + -
-
{{selected.network || ''}}
-
{{selected.friendlyName || ''}}
+
+
{{selected.network || ''}}
+
{{selected.friendlyName || ''}}
+ + Loading... + diff --git a/src/commons/component/scanner-setting-dropdown.component.html b/src/commons/component/scanner-setting-dropdown.component.html index aa3fe83..793dea0 100644 --- a/src/commons/component/scanner-setting-dropdown.component.html +++ b/src/commons/component/scanner-setting-dropdown.component.html @@ -5,7 +5,7 @@ -
+
IP  
{{ipSummary}}
@@ -15,8 +15,11 @@
{{portSummary}}
+ + Loading... + diff --git a/src/commons/service/discovery-config.service.ts b/src/commons/service/discovery-config.service.ts index 65b2493..8203b29 100644 --- a/src/commons/service/discovery-config.service.ts +++ b/src/commons/service/discovery-config.service.ts @@ -11,16 +11,19 @@ export class DiscoveryConfigService { private discoverHostSubject = new BehaviorSubject(null); private zoneSubject = new BehaviorSubject(null); private startSubject = new BehaviorSubject(false); + private discoveryModeSubject = new BehaviorSubject(''); discoverHost: Observable; zone: Observable; started: Observable; + discoveryMode: Observable; constructor() { this.discoverHost = this.discoverHostSubject.asObservable(); this.zone = this.zoneSubject.asObservable(); this.started = this.startSubject.asObservable(); + this.discoveryMode = this.discoveryModeSubject.asObservable(); } public setZone(zone: Zone): void { @@ -35,4 +38,7 @@ export class DiscoveryConfigService { this.startSubject.next(isStarted); } + public setDiscoveryMode(mode: string): void { + this.discoveryModeSubject.next(mode); + } } diff --git a/yarn.lock b/yarn.lock index a1c1e28..2ee793a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5878,9 +5878,9 @@ pretty-error@^2.0.2: renderkid "^2.0.1" utila "~0.4" -primeng@^6.1.0: - version "6.1.2" - resolved "https://nexus.loafle.net/repository/npm-all/primeng/-/primeng-6.1.2.tgz#b13e6f27ab36482dc4f3657d20aa29f48428a9cb" +primeng@^6.1.3: + version "6.1.3" + resolved "https://nexus.loafle.net/repository/npm-all/primeng/-/primeng-6.1.3.tgz#720590da9e671fd47de15911636d1c0a7a442852" primer-support@^4.0.0: version "4.6.0"