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,
restBaseURL: 'http://192.168.1.50:19080/webapp',
webappRPCConfig: {
url: 'ws://192.168.1.103:19090/webapp',
url: 'ws://192.168.1.50:19090/webapp',
reconnectInterval: 5000,
reconnectRetry: 10,
},

View File

@ -85,7 +85,7 @@
<p-dialog header="Rename Probe" [(visible)]="renameProbeVisible" [modal]="true" [responsive]="true" [width]="350" [minWidth]="200"
[minY]="70">
<span class="md-inputfield">
<input #probeAlias type="text" pInputText placeholder="aaaa">
<input #probeAlias type="text" pInputText placeholder="Enter new alias.">
</span>
<p-footer>
<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() {
console.log(this.selectedNode);
this.renameProbeVisible = true;
}
@ -494,7 +493,8 @@ export class MapComponent implements OnInit, AfterContentInit {
}
onSaveProbeName(value) {
console.log(value);
const probeName = this.selectedNode.label;
console.log(probeName);
}
}