WIP Поставила задержку на get после post client

This commit is contained in:
Daria Golova
2022-11-28 16:03:48 +03:00
parent d1e3f77a2a
commit 29ded1abe5

View File

@@ -132,9 +132,11 @@ export default {
updatedClients() { updatedClients() {
if (this.updatedClients === true) { if (this.updatedClients === true) {
this.textSearch = ""; this.textSearch = "";
this.fetchDataClients().then( setTimeout(() => {
() => (this.currentTablePage = this.pageCount) this.fetchDataClients().then(
); () => (this.currentTablePage = this.pageCount)
);
}, 60);
this.$emit("reset-updated-clients"); this.$emit("reset-updated-clients");
} }
}, },