diff --git a/Thermo.Active/wwwroot/src/app_modules_thermo/sotto-cofano/LogMisurazioni/components/log-misurazioni/log-misurazioni.ts b/Thermo.Active/wwwroot/src/app_modules_thermo/sotto-cofano/LogMisurazioni/components/log-misurazioni/log-misurazioni.ts index 535bf927..a88e224e 100644 --- a/Thermo.Active/wwwroot/src/app_modules_thermo/sotto-cofano/LogMisurazioni/components/log-misurazioni/log-misurazioni.ts +++ b/Thermo.Active/wwwroot/src/app_modules_thermo/sotto-cofano/LogMisurazioni/components/log-misurazioni/log-misurazioni.ts @@ -20,7 +20,7 @@ export default class LogMisurazioni extends Vue { async mounted(){ this.currentPage = 0; - this.totalPages = await awaiter(underTheHoodService.GetHistorySheetsCount()); + this.totalPages = await awaiter(underTheHoodService.GetHistorySheetsCount()) / this.itemsPerPage; this.getLogs(); }