- Sistemato INVITI alla App

- Completamento Profilo
- Registrazione tramite Invito, senza richiedere conferma email.
This commit is contained in:
Surya Paolo
2025-11-18 23:56:08 +01:00
parent fc569192e7
commit 4985e7565d
98 changed files with 2209 additions and 3595720 deletions

View File

@@ -1479,7 +1479,9 @@ export const useGlobalStore = defineStore('GlobalStore', {
return Api.SendReq('/savepage', 'POST', { page })
.then((res) => {
if (res && res.data && res.data.mypage) {
const index = this.mypage.findIndex((rec) => rec.path === res.data.mypage.path);
let index = this.mypage.findIndex((rec) => rec._id === res.data.mypage._id);
if (index < 0)
index = this.mypage.findIndex((rec) => rec.path === res.data.mypage.path);
if (index >= 0) {
this.mypage[index] = res.data.mypage;
} else {