From 7f753433bb82ef112cef82c680591f3712dac35e Mon Sep 17 00:00:00 2001 From: "nozomu.akaike" Date: Fri, 20 Sep 2024 19:30:51 +0900 Subject: [PATCH] update pass --- app-author-search/src/app/app.component.ts | 2 +- app-items-author-search/src/app/app.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-author-search/src/app/app.component.ts b/app-author-search/src/app/app.component.ts index 79cf42e..b7b9cd4 100644 --- a/app-author-search/src/app/app.component.ts +++ b/app-author-search/src/app/app.component.ts @@ -248,7 +248,7 @@ export class AppComponent implements OnInit { this.searchJson = res; this.setDisplayData(); //総数を設定する - this.total = this.searchJson.hits.total; + this.total = this.searchJson.hits.total.value; if (this.total == 0) { this.searchZero = true; this.numberFrom = 0; diff --git a/app-items-author-search/src/app/app.component.ts b/app-items-author-search/src/app/app.component.ts index ce34a21..3560659 100644 --- a/app-items-author-search/src/app/app.component.ts +++ b/app-items-author-search/src/app/app.component.ts @@ -183,7 +183,7 @@ export class AppComponent implements OnInit { this.searchJson = res; this.setDisplayData(); //総数を設定する - this.total = this.searchJson.hits.total; + this.total = this.searchJson.hits.total.value; if(this.total == 0){ this.searchZero = true; this.numberFrom = 0;