refs #6694 feat: handle when postcodecreated

This commit is contained in:
Javier Segarra 2024-01-18 07:43:30 +01:00
parent 94fb073d3f
commit 4e66f3c65d
1 changed files with 4 additions and 1 deletions

View File

@ -73,8 +73,11 @@ function locationFilter(search) {
postcodesRef.value.fetch({ where, args: params });
}
function handleFetch( data) {
postcodesOptions.value = data;
postcodesOptions.value = data;
}
async function onPostcodeCreated(){
postcodesRef.value.fetch();
};
</script>
<template>
<FetchData