WIP Сделала проверку текущей даты

This commit is contained in:
Daria Golova
2022-12-05 18:18:04 +03:00
parent ea1a234f8f
commit bc95fbcfb7
2 changed files with 40 additions and 3 deletions

View File

@@ -206,7 +206,11 @@ export default {
this.textSearch = "";
this.clearingTextSearch = true;
this.clientsCount += 1;
this.currentTablePage = this.calculatePageCount(this.clientsCount);
if (
this.currentTablePage !== this.calculatePageCount(this.clientsCount)
)
this.currentTablePage = this.calculatePageCount(this.clientsCount);
else this.fetchDataClients();
this.$emit("reset-updated-clients");
}
},