fix img profile

This commit is contained in:
Surya Paolo
2023-02-06 23:50:55 +01:00
parent 5c2b28939b
commit d59eb86d0c
2 changed files with 1 additions and 1 deletions

View File

@@ -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
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB