thumbs
This commit is contained in:
@@ -172,11 +172,13 @@ const btnSaveDisable = () => {
|
||||
};
|
||||
|
||||
const refrescarImagen = () => {
|
||||
console.log(listaStore.pb.authStore.model);
|
||||
if (listaStore.pb.authStore.model.avatar.length > 0) {
|
||||
fuenteImagen.value = listaStore.pb.getFileUrl(
|
||||
listaStore.pb.authStore.model,
|
||||
listaStore.pb.authStore.model.avatar
|
||||
);
|
||||
fuenteImagen.value =
|
||||
listaStore.pb.getFileUrl(
|
||||
listaStore.pb.authStore.model,
|
||||
listaStore.pb.authStore.model.avatar
|
||||
) + "?thumb=100x100";
|
||||
} else {
|
||||
fuenteImagen.value = `https://cdn.quasar.dev/img/avatar.png`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user