Skip to content

Commit

Permalink
fix(NcEmojiPicker): Set type to native for selected emoji
Browse files Browse the repository at this point in the history
The default is to display the emoji from a remote data source, which we
don't want (and is prohibitted by our CSP anyway).

Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- committed Sep 26, 2023
1 parent f33364f commit fae7ab0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/NcEmojiPicker/NcEmojiPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,13 @@ This component allows the user to pick an emoji.
<Emoji class="emoji-selected"
:data="emojiIndex"
:emoji="selectedEmoji"
:native="true"
:size="32"
@click="unselect" />
<Emoji class="emoji-delete"
:data="emojiIndex"
emoji=":x:"
:native="true"
:size="10"
@click="unselect" />
</template>
Expand Down

0 comments on commit fae7ab0

Please sign in to comment.