ver 1.0.19
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
}
|
||||
},
|
||||
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user