Merge pull request #211 from appwrite/fix-missing-brackets-array-attribute

Fix: missing brackets on array attributes
This commit is contained in:
Torsten Dittmann authored and GitHub committed 2023-01-10 15:26:24 +01:00
commit d71c770465
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -4,6 +4,6 @@
export let showOverflow = false;
</script>
<div class="table-col " class:u-overflow-visible={showOverflow} data-title={title} role="cell">
<div class="table-col" class:u-overflow-visible={showOverflow} data-title={title} role="cell">
<Trim><slot /></Trim>
</div>
@@ -63,7 +63,9 @@
{/if}
</div>
</TableCell>
<TableCellText title="Type">{attribute.type}</TableCellText>
<TableCellText title="Type">
{`${attribute.type}${attribute.array ? '[]' : ''}`}
</TableCellText>
<TableCellText title="Default Value">
{attribute.default !== null ? attribute.default : '-'}
</TableCellText>