forked from verdnatura/salix-front
refs #6694 feat: handle when postcodecreated
This commit is contained in:
parent
94fb073d3f
commit
4e66f3c65d
|
@ -73,8 +73,11 @@ function locationFilter(search) {
|
||||||
postcodesRef.value.fetch({ where, args: params });
|
postcodesRef.value.fetch({ where, args: params });
|
||||||
}
|
}
|
||||||
function handleFetch( data) {
|
function handleFetch( data) {
|
||||||
postcodesOptions.value = data;
|
postcodesOptions.value = data;
|
||||||
}
|
}
|
||||||
|
async function onPostcodeCreated(){
|
||||||
|
postcodesRef.value.fetch();
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<FetchData
|
<FetchData
|
||||||
|
|
Loading…
Reference in New Issue