fixed probe detail - discovery
This commit is contained in:
		
							parent
							
								
									87b0a0283b
								
							
						
					
					
						commit
						98ef4ebfe9
					
				@ -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">
 | 
			
		||||
 | 
			
		||||
@ -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() {
 | 
			
		||||
 | 
			
		||||
@ -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,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user