Friends, search

This commit is contained in:
paoloar77
2022-01-12 00:38:31 +01:00
parent 3de9967571
commit 45993d05c5
27 changed files with 464 additions and 152 deletions

View File

@@ -73,9 +73,10 @@ export default function () {
function getMyImgforIcon() {
const userStore = useUserStore()
const mypath = userStore.getImgByUsername(userStore.my.username)
let img_small = tools.baseurl(mypath) + '/' + serv_constants.PREFIX_IMG_SMALL + tools.getLastItem(mypath);
const filename = tools.getLastItem(mypath)
let img_small = tools.baseurl(mypath) + '/' + serv_constants.PREFIX_IMG_SMALL + filename
console.log('img_small', img_small)
return (img_small !== '') ? `img:${img_small}` : 'fas fa-user'
return (filename !== '') ? `img:${img_small}` : 'fas fa-user'
}
function getIconCart() {