default attachments to empty array

This commit is contained in:
2023-02-26 19:25:10 +10:00
parent 212c5410e1
commit 3231063bc2

View File

@@ -19,7 +19,7 @@
</div>
</div>
<component :is="formattedContent" ref="content"></component>
<SMAttachments :attachments="post.attachments" />
<SMAttachments :attachments="post.attachments || []" />
</SMContainer>
</SMPage>
</template>