FE-202: Уникальных плательщиков в ЛК всегда 0 (#85)

* FE-202: заменены адреса CAPI на актуальные

* FE-202: Исправлена неверная логика
This commit is contained in:
Max Minin 2017-02-21 18:28:50 +03:00 committed by GitHub
parent 419193f624
commit b6b959b1f5
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{
"capiUrl": "http://api.rbk.money:8080/v1",
"capiUrl": "http://api.rbk.test:8080/v1",
"suggestionsToken": "6abd2a4ecb51b2063471e32c1445d3987ff4b11a"
}

View File

@ -1,7 +1,7 @@
{
"realm" : "external",
"realm-public-key" : "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2KZPnAJs0SS6/w39mDTrWYRjM86IFteU/dPGpGQdOPwNe85Ep2leVN3/FBKVUMHsFTtFkVsg/VcCEfYBj22B0mZ8zV2hQUCNq1NV2b2LnYYrDmThmFOOTnpbBhEOMS8Wrzj3Yk7mcDtKlMzoBNIQ/Z54ffymkyiKX8XOw45K9Cx1Bp/SVjOnJlm0Qu/+zE40/XVpzgjbaqSc9+8B3tur2E03EVemOa6EFhu7ocKsbSR7/fG1nYOGKjACS1Z+VYQTMcRqxZlLw7kv3fxUaMDcK5p/16YWpWggflVy5w26IIJeDcsXG+X3LV6f6dyo9ZfOEvGqQZmPCohaSOgi+IRwAQIDAQAB",
"auth-server-url" : "http://auth.rbk.money:8080/auth/",
"auth-server-url" : "http://auth.rbk.test:8080/auth/",
"ssl-required" : "external",
"resource" : "koffing",
"public-client" : true

View File

@ -1,5 +1,5 @@
{
"realm": "external",
"auth-server-url": "http://auth.rbk.money:8080/auth/",
"auth-server-url": "http://auth.rbk.test:8080/auth/",
"resource": "tokenizer"
}

View File

@ -101,7 +101,7 @@ export class DashboardComponent implements OnInit {
new RequestParams(this.fromTime, this.toTime)
).then((rateStat: any) => {
this.rateLoading = false;
this.uniqueCount = rateStat[0] ? rateStat[0].uniqueCount : 0;
this.uniqueCount = rateStat ? rateStat.uniqueCount : 0;
});
}