forked from verdnatura/salix-front
Merge branch 'test' into dev
This commit is contained in:
commit
0d016e0898
|
@ -45,6 +45,7 @@ function onDataSaved(formData) {
|
|||
}
|
||||
|
||||
async function onCityCreated(newTown, formData) {
|
||||
await provincesFetchDataRef.value.fetch();
|
||||
newTown.province = provincesOptions.value.find(
|
||||
(province) => province.id === newTown.provinceFk
|
||||
);
|
||||
|
|
|
@ -112,6 +112,7 @@ const getCategoryClass = (category, params) => {
|
|||
|
||||
const getSelectedTagValues = async (tag) => {
|
||||
try {
|
||||
if (!tag?.selectedTag?.id) return;
|
||||
tag.value = null;
|
||||
const filter = {
|
||||
fields: ['value'],
|
||||
|
|
|
@ -56,6 +56,7 @@ const onCategoryChange = async (categoryFk, search) => {
|
|||
|
||||
const getSelectedTagValues = async (tag) => {
|
||||
try {
|
||||
if (!tag?.selectedTag?.id) return;
|
||||
tag.value = null;
|
||||
const filter = {
|
||||
fields: ['value'],
|
||||
|
|
Loading…
Reference in New Issue