diff --git a/src/components/common/VnLocation.vue b/src/components/common/VnLocation.vue index 82dfd6d53..d650211ad 100644 --- a/src/components/common/VnLocation.vue +++ b/src/components/common/VnLocation.vue @@ -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(); +};