From 5c53c86d1058453c85ac15169133e2f076676005 Mon Sep 17 00:00:00 2001 From: Pierre-Jean CHANCELLIER <paidge_cs@hotmail.com> Date: Wed, 2 Feb 2022 16:50:53 +0100 Subject: [PATCH] reset input search when changing member page --- components/certif/List.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/certif/List.vue b/components/certif/List.vue index cfe1bf5..6b3e2a5 100644 --- a/components/certif/List.vue +++ b/components/certif/List.vue @@ -131,6 +131,13 @@ export default { if (index >= start && index < end) return true }) } + }, + watch: { + certifs: { + handler(n, o) { + this.search = "" + } + } } } </script> -- GitLab