fix img profile
This commit is contained in:
@@ -383,7 +383,7 @@ export const useUserStore = defineStore('UserStore', {
|
||||
img = 'images/noimg-user.svg'
|
||||
|
||||
let tipoconto = costanti.AccountType.USER
|
||||
if (col.hasOwnProperty('tipoconto') && col.tipoconto) {
|
||||
if (col && col.hasOwnProperty('tipoconto') && col.tipoconto) {
|
||||
tipoconto = col.tipoconto
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user