Skip to content
Snippets Groups Projects
Commit 88ad5033 authored by Ilja's avatar Ilja
Browse files

Use empty array for emji instead

Instead of relying on a key that isn't actually usefull, I just provide an empty array directly.
parent 89c409c6
No related branches found
No related tags found
2 merge requests!1711Update stable - 2.5.0 release,!1322#949 Feat/report notification
Pipeline #39375 passed
......@@ -31,7 +31,7 @@
<RichContent
class="report-content"
:html="report.content"
:emoji="report.emojis"
:emoji="[]"
/>
<div v-if="report.statuses.length">
<small>{{ $t('report.reported_statuses') }}</small>
......
......@@ -42,8 +42,7 @@ export default Vue.component('RichContent', {
// Emoji object, as in status.emojis, note the "s" at the end...
emoji: {
required: true,
type: Array,
default: () => []
type: Array
},
// Whether to handle links or not (posts: yes, everything else: no)
handleLinks: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment