This commit is contained in:
insanity 2018-04-30 21:19:41 +09:00
parent 6ce25e2361
commit b9663e59f9
3 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ export const environment = {
production: false, production: false,
restBaseURL: 'http://192.168.1.50:19080/webapp', restBaseURL: 'http://192.168.1.50:19080/webapp',
webappRPCConfig: { webappRPCConfig: {
url: 'ws://192.168.1.103:19090/webapp', url: 'ws://192.168.1.50:19090/webapp',
reconnectInterval: 5000, reconnectInterval: 5000,
reconnectRetry: 10, reconnectRetry: 10,
}, },

View File

@ -85,7 +85,7 @@
<p-dialog header="Rename Probe" [(visible)]="renameProbeVisible" [modal]="true" [responsive]="true" [width]="350" [minWidth]="200" <p-dialog header="Rename Probe" [(visible)]="renameProbeVisible" [modal]="true" [responsive]="true" [width]="350" [minWidth]="200"
[minY]="70"> [minY]="70">
<span class="md-inputfield"> <span class="md-inputfield">
<input #probeAlias type="text" pInputText placeholder="aaaa"> <input #probeAlias type="text" pInputText placeholder="Enter new alias.">
</span> </span>
<p-footer> <p-footer>
<button type="button" pButton icon="fa-check" (click)="onSaveProbeName(probeAlias.value)" label="Save"></button> <button type="button" pButton icon="fa-check" (click)="onSaveProbeName(probeAlias.value)" label="Save"></button>

View File

@ -469,7 +469,6 @@ export class MapComponent implements OnInit, AfterContentInit {
} }
editProbeAlias() { editProbeAlias() {
console.log(this.selectedNode);
this.renameProbeVisible = true; this.renameProbeVisible = true;
} }
@ -494,7 +493,8 @@ export class MapComponent implements OnInit, AfterContentInit {
} }
onSaveProbeName(value) { onSaveProbeName(value) {
console.log(value); const probeName = this.selectedNode.label;
console.log(probeName);
} }
} }