ver 1.0.19

This commit is contained in:
Surya Paolo
2023-11-03 12:49:17 +01:00
parent cb11903707
commit a071d17410
28 changed files with 144 additions and 103 deletions

View File

@@ -224,8 +224,8 @@ export const costanti = {
small: true,
table: '',
},
{
visible: true,
/*{
visible: false,
title: 'Sostieni il Progetto',
to: '/fundraising',
icon: 'fas fa-hand-holding-heart',
@@ -237,7 +237,7 @@ export const costanti = {
table: '',
},
{
visible: true,
visible: false,
title: 'Assistenza',
to: '/istruzioni',
icon: 'fas fa-question',
@@ -247,7 +247,7 @@ export const costanti = {
small: true,
link: true,
table: '',
},
},*/
{
visible: false,
title: 'Social',

View File

@@ -250,7 +250,6 @@ export const useUserStore = defineStore('UserStore', {
actions: {
getMypaginationMembers(): any {
return { sortBy: 'namecomplete', descending: false, page: 1, rowsNumber: 0, rowsPerPage: 15 }
},
@@ -1898,5 +1897,17 @@ export const useUserStore = defineStore('UserStore', {
},
isDateRegOld() {
try {
const dateold = tools.addDays(tools.getDateNow(), -(30 * 6))
if (this.my)
return this.my.date_reg! && new Date(this.my.date_reg).getTime() < dateold.getTime()
else
return true
} catch (e) {
return false
}
},
},
})