0
0
Fork 0

Merge branch 'test' into hotfix_6101_FixTicketList

This commit is contained in:
Alex Moreno 2024-08-02 10:28:44 +00:00
commit eb55743bc0
3 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,7 @@ function onDataSaved(formData) {
} }
async function onCityCreated(newTown, formData) { async function onCityCreated(newTown, formData) {
await provincesFetchDataRef.value.fetch();
newTown.province = provincesOptions.value.find( newTown.province = provincesOptions.value.find(
(province) => province.id === newTown.provinceFk (province) => province.id === newTown.provinceFk
); );

View File

@ -112,6 +112,7 @@ const getCategoryClass = (category, params) => {
const getSelectedTagValues = async (tag) => { const getSelectedTagValues = async (tag) => {
try { try {
if (!tag?.selectedTag?.id) return;
tag.value = null; tag.value = null;
const filter = { const filter = {
fields: ['value'], fields: ['value'],

View File

@ -56,6 +56,7 @@ const onCategoryChange = async (categoryFk, search) => {
const getSelectedTagValues = async (tag) => { const getSelectedTagValues = async (tag) => {
try { try {
if (!tag?.selectedTag?.id) return;
tag.value = null; tag.value = null;
const filter = { const filter = {
fields: ['value'], fields: ['value'],