Fix Frontend

This commit is contained in:
Thermo_SIM
2021-03-19 22:21:10 +01:00
parent f7ff6629ce
commit 083be20f02
@@ -19,9 +19,7 @@ export default class LogMisurazioni extends Vue {
rowData = [];
async mounted(){
this.currentPage = 0;
this.totalPages = await awaiter(underTheHoodService.GetHistorySheetsCount()) / this.itemsPerPage;
this.getLogs();
this.reload();
}
@Watch("currentPage", { deep: true })
@@ -33,7 +31,7 @@ export default class LogMisurazioni extends Vue {
async reload(){
this.currentPage = 0;
this.totalPages = await awaiter(underTheHoodService.GetHistorySheetsCount());
this.totalPages = await awaiter(underTheHoodService.GetHistorySheetsCount()) / this.itemsPerPage;
this.getLogs();
}