Skip to content

Commit

Permalink
PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
SaraBoutej committed Aug 2, 2023
1 parent 7ad1fbd commit 61058bf
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<exo-drawer
ref="activityKudosDrawer"
v-draggable="objectType"
v-draggable="enabled"
width="500px"
hide-actions
id="activityKudosDrawer"
Expand Down Expand Up @@ -285,6 +285,9 @@ export default {
ckEditorType() {
return this.isLinkedKudos ? 'activityComment' : 'activityContent';
},
enabled() {
return eXo.env.portal.editorAttachImageEnabled && eXo.env.portal.attachmentObjectTypes?.indexOf(this.objectType) >= 0;
}
},
methods: {
init() {
Expand Down

0 comments on commit 61058bf

Please sign in to comment.