fixed probe detail - discovery

This commit is contained in:
snoop 2018-04-18 20:39:02 +09:00
parent 87b0a0283b
commit 98ef4ebfe9
3 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,7 @@
<h1>Info</h1>
<p-dialog header="Discovery" [width]="800" [(visible)]="display">
<of-discovery-setting (close)="onDiscoverycloseDialog()"></of-discovery-setting>
</p-dialog>
<div *ngIf="probe">
<div class="ui-g form-group">
<div class="ui-g-12 ui-md-6 ui-lg-4">

View File

@ -21,6 +21,7 @@ export class DetailComponent implements OnInit, AfterContentInit {
probe: Probe = null;
startIP: string;
endIP: string;
display = false;
constructor(
private route: ActivatedRoute,
@ -61,7 +62,12 @@ export class DetailComponent implements OnInit, AfterContentInit {
}
onDiscoveryClick() {
alert('Discovery를 열거라 대훈');
// alert('Discovery를 열거라 대훈');
this.display = true;
}
onDiscoverycloseDialog() {
this.display = false;
}
onRemoveClick() {

View File

@ -8,15 +8,15 @@ import { PrimeNGModules } from '../commons/prime-ng/prime-ng.module';
import { FormsModule } from '@angular/forms';
// import { SettingComponent as DiscoverySettingComponent } from 'packages/discovery/component/setting/setting.component';
// import { DiscoveryModule } from '../discovery/discovery.module';
import { DiscoveryModule } from 'packages/discovery/discovery.module';
@NgModule({
imports: [
CommonModule,
PrimeNGModules,
ProbeStoreModule,
FormsModule
// DiscoveryModule
FormsModule,
DiscoveryModule
],
declarations: [
COMPONENTS,