dont display if no items

This commit is contained in:
2023-04-25 11:57:39 +10:00
parent 03e969e08c
commit bc2a25346b

View File

@@ -2,7 +2,9 @@
<SMHeader <SMHeader
v-if="props.attachments && props.attachments.length > 0" v-if="props.attachments && props.attachments.length > 0"
text="Files" /> text="Files" />
<table class="attachment-list"> <table
v-if="props.attachments && props.attachments.length > 0"
class="attachment-list">
<tbody> <tbody>
<tr <tr
v-for="file of props.attachments" v-for="file of props.attachments"