start/stop button
This commit is contained in:
@@ -273,7 +273,7 @@ export class HomePageComponent implements OnInit, OnDestroy {
|
||||
@RPCSubscriber({ method: 'DiscoveryService.DiscoveryStop' })
|
||||
public DiscoveryStop(stopDate: Date) {
|
||||
console.log('DiscoveryStop', stopDate);
|
||||
|
||||
this.discoveryConfigService.setStarted(false);
|
||||
this.simulation.stop();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<app-toolbar>
|
||||
<app-nic-dropdown [blockTarget]="pagesContent" (select)="onNICSelect($event)"></app-nic-dropdown>
|
||||
<app-scanner-setting-dropdown [blockTarget]="pagesContent" (ready)="onConfigReady($event)"></app-scanner-setting-dropdown>
|
||||
<div class="toolbar-button push-pull-button" style="width: 32px">
|
||||
<div class="toolbar-button push-pull-button" style="width: 32px" [hidden]="discoveryConfigService.started | async">
|
||||
<button class="button-component" type="button" (click)="onStart()">
|
||||
<svg aria-hidden="true" class="octicon icon" version="1.1" viewBox="0 0 15 17">
|
||||
<path d="M0.2,15.6c0,0.2,0.1,0.4,0.2,0.6c0.4,0.6,1.2,0.8,1.8,0.5l12.2-7.1c0.2-0.1,0.3-0.3,0.4-0.4
|
||||
|
||||
Reference in New Issue
Block a user