Bugfix this => this.res

This commit is contained in:
cgfhtw
2025-06-23 10:48:50 +02:00
parent 0202bb261f
commit 819ef7bc32
2 changed files with 2 additions and 2 deletions
@@ -18,7 +18,7 @@ export default {
},
photo_url() {
if (this.mode != 'simple')
return this.photo_url;
return this.res.photo_url;
if (this.res.foto)
return 'data:image/jpeg;base64,' + this.res.foto;
return null;
@@ -13,7 +13,7 @@ export default {
computed: {
photo_url() {
if (this.mode != 'simple')
return this.photo_url;
return this.res.photo_url;
if (this.res.foto)
return 'data:image/jpeg;base64,' + this.res.foto;
return null;