Modify the ui name and token that cannot be displayed due to backend api changes (#6914)

Signed-off-by: FangyuanCheng <fangyuanc@vmware.com>
This commit is contained in:
Fangyuan Cheng 2019-02-13 18:57:49 +08:00 committed by Yan
parent 275a917dbf
commit 04c76d7f09

View File

@ -130,8 +130,8 @@ export class AddRobotComponent implements OnInit, OnDestroy {
.subscribe(
response => {
this.isSubmitOnGoing = false;
this.robotToken = response.Token;
this.robotAccount = response.Name;
this.robotToken = response.token;
this.robotAccount = response.name;
this.copyToken = true;
this.create.emit(true);
this.translate