default attachments to empty array
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<component :is="formattedContent" ref="content"></component>
|
<component :is="formattedContent" ref="content"></component>
|
||||||
<SMAttachments :attachments="post.attachments" />
|
<SMAttachments :attachments="post.attachments || []" />
|
||||||
</SMContainer>
|
</SMContainer>
|
||||||
</SMPage>
|
</SMPage>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user