WIP Настроила пагинацию с фильтрацией

This commit is contained in:
Daria Golova
2022-11-25 17:21:31 +03:00
parent e768b8fc7e
commit 953dc71460
2 changed files with 35 additions and 19 deletions

View File

@@ -19,7 +19,7 @@
secondary,
@click="resetLastName",
:size=40
) Очистить
) Сбросить
clients-table-header-actions(v-if="!!isOpenActions", :is-selected-one="isOpenActions===1")
.flex.w-fit.h-fit.gap-x-2
base-button(left-icon="icon-download", :icon-left-size="16", :size="40", :outlined="true")
@@ -53,10 +53,16 @@ export default {
this.$emit("search", this.searchClient);
},
resetLastName() {
this.$emit("reset-search");
this.searchClient = "";
},
},
watch: {
searchClient() {
if (!this.searchClient) {
this.$emit("search");
}
},
},
};
</script>