diff --git a/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue b/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue index a5e544100..7d5f38aa3 100644 --- a/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue +++ b/src/modules/04_registryNew/components/detail/GovernmentInformation/01_Info.vue @@ -52,7 +52,7 @@ const modalEdit = ref(false); const modalHistory = ref(false); const rowsHistory = ref([]); -const filterKeyword = ref(''); +const filterKeyword = ref(""); const containDate = ref(null); const workDate = ref(null); @@ -379,12 +379,15 @@ function getDataHistory() { // }); } -watch(() => modalHistory.value, (isOpen) => { - if(isOpen === true) { - getDataHistory() +watch( + () => modalHistory.value, + (isOpen) => { + if (isOpen === true) { + filterKeyword.value = '' + getDataHistory(); + } } -}); - +);