Skip to content

Commit

Permalink
feature/FOUR-13370
Browse files Browse the repository at this point in the history
  • Loading branch information
luNunezProcessmaker committed Feb 8, 2024
1 parent af37409 commit 2d099ad
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/components/renderer/form-avatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
:style="styleAvatar()"
disabled
>
<img v-if="user.avatar"
<img
v-if="user.avatar"
:src="user.avatar"
:width="width"
:height="height"
:class="image"
:alt="user.fullname"
>

/>
<span
v-else
class="border-0 d-inline-flex align-items-center justify-content-center text-white text-uppercase text-nowrap font-weight-normal"
Expand Down Expand Up @@ -52,11 +52,7 @@ export default {
: "";
},
variant() {
if (this.user.avatar) {
return 'secondary';
} else {
return 'info';
}
return this.user.avatar ? 'secondary' : 'info';
},
styleAvatar() {
return "width: " +
Expand Down

0 comments on commit 2d099ad

Please sign in to comment.