Use empty array for emji instead

Instead of relying on a key that isn't actually usefull, I just provide an empty array directly.
このコミットが含まれているのは:
Ilja 2022-03-21 09:49:06 +01:00
コミット 88ad5033a8
2個のファイルの変更2行の追加3行の削除

ファイルの表示

@ -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: {