- Aggiornato node.js alla versione 22.18.1

- Aggiornato tutti i pacchetti del server all'ultima versione.
- passato mongoose da versione 5 a versione 6
This commit is contained in:
Surya Paolo
2025-03-03 00:45:56 +01:00
parent 28ed99703d
commit 6d112b8e45
18 changed files with 76 additions and 234 deletions

View File

@@ -163,6 +163,16 @@ export default defineComponent({
transition: 'height 0.3s ease-in-out'
}))
const numpart = ref<number | null>(null);
const updatePart = () => {
numpart.value = calendarStore.getNumParticipants(
myrec.value,
true,
tools.peopleWhere.participants
);
};
const filtercustom: any = computed(() => {
let queryreact = {}
@@ -190,7 +200,7 @@ export default defineComponent({
}
async function load() {
console.log('load')
// console.log('load')
// Carica il record
if (props.idRec) {
await userStore.loadGeneric(props.table, props.idRec, idnotif.value).then((ris) => {
@@ -218,6 +228,8 @@ export default defineComponent({
col.value = fieldsTable.getArrColsByTable(props.table)
updatePart()
ismounted.value = true
}
@@ -660,6 +672,7 @@ export default defineComponent({
emit('showInMap', rec)
}
onMounted(mounted)
return {
@@ -717,6 +730,8 @@ export default defineComponent({
toggleShowScheda,
showInMap,
ismounted,
updatePart,
numpart,
}
}
})