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 c8e7f61 commit af37409
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/components/renderer/form-avatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<b-button
:variant="variant()"
class="avatar-button rounded-circle overflow-hidden p-0 m-0 d-inline-flex border-0"
:style="styleAvatar()"
disabled
>
<img v-if="user.avatar"
Expand Down
10 changes: 5 additions & 5 deletions src/form-builder-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,13 +589,13 @@ export default [
control: {
popoverContent: "User avatar",
order: 3.0,
group: 'Content Fields',
label: 'Image',
group: 'Dashboards',
label: 'User Avatar',
component: 'FormAvatar',
'editor-component': 'FormAvatar',
'editor-control': 'FormAvatar',
config: {
label: 'Image',
label: 'User Avatar',
icon: 'fas fa-user-circle',
variant: 'primary',
event: 'submit',
Expand All @@ -609,7 +609,7 @@ export default [
field: 'height',
config: {
label: 'Height',
helper: 'Image height',
helper: 'Avatar height',
type: 'number',
},
},
Expand All @@ -618,7 +618,7 @@ export default [
field: 'width',
config: {
label: 'Width',
helper: 'image width',
helper: 'Avatar width',
type: 'number',
},
},
Expand Down

0 comments on commit af37409

Please sign in to comment.