ver "0.5.9"
Saldo ora comprende anche le transazioni Pendenti (e le visualizza)
This commit is contained in:
@@ -4,7 +4,7 @@ import {
|
||||
ICircuit, IMyCircuit,
|
||||
IFriends, IMsgGlobParam,
|
||||
ISigninOptions,
|
||||
ISignupOptions, IUserFields, IUserNotifType, IUserProfile, IUserState, IAccount,
|
||||
ISignupOptions, IUserFields, IUserNotifType, IUserProfile, IUserState, IAccount, IColGridTable,
|
||||
} from '@src/model'
|
||||
import { tools } from '@store/Modules/tools'
|
||||
import translate from '@src/globalroutines/util'
|
||||
@@ -277,6 +277,22 @@ export const useUserStore = defineStore('UserStore', {
|
||||
return img ? img : 'images/noimg-user.svg'
|
||||
},
|
||||
|
||||
getImgUserByRow(row: any, col: IColGridTable): string {
|
||||
let value = ''
|
||||
|
||||
if (row.hasOwnProperty(col.name)) {
|
||||
value = row[col.name]
|
||||
}
|
||||
let img = this.getImgByUsername(value)
|
||||
if (row) {
|
||||
const mycol = col.name + '.img'
|
||||
if (row.hasOwnProperty(mycol)) {
|
||||
img = row[mycol]
|
||||
}
|
||||
}
|
||||
return img ? img : 'images/noimg-user.svg'
|
||||
},
|
||||
|
||||
getImgByProfile(userparam: IUserFields, reale: any = false): string {
|
||||
try {
|
||||
if (userparam.profile && userparam.profile.img) {
|
||||
|
||||
Reference in New Issue
Block a user