- se annuncio cancellato (mostra avviso)

This commit is contained in:
Surya Paolo
2024-09-18 14:56:25 +02:00
parent 1142526ed8
commit 4ac0acc2f3
4 changed files with 29 additions and 12 deletions

View File

@@ -515,7 +515,7 @@ export const useUserStore = defineStore('UserStore', {
else
arrout = tools.getCommon([...this.my.profile.mycircuits], [...user.profile.mycircuits], 'circuitname')
// controlla che il circuito sia Abilitato e Territoriale !
for (const circuitname of arrout) {
@@ -1697,7 +1697,7 @@ export const useUserStore = defineStore('UserStore', {
return res.data
}).catch((error) => {
console.error('err', error)
return {}
return null
})
},
@@ -1872,11 +1872,11 @@ export const useUserStore = defineStore('UserStore', {
} else {
msg = t('db.recupdated')
tools.showPositiveNotif($q, msg)
}
}
} else {
tools.showPositiveNotif($q, msg)
}
}
}).catch((error) => {
tools.showNegativeNotif($q, t('db.recfailed'))