fix: attributes and index

This commit is contained in:
Arman committed 2022-11-24 11:44:51 +01:00
1 parent 3b3c7fa4c9
commit 9c25b220bf
2 files changed
+10 -10

No files matched your search

@@ -40,8 +40,8 @@
<Table>
<TableHeader>
<TableCellHead>Key</TableCellHead>
<TableCellHead>Type</TableCellHead>
<TableCellHead>Default Value</TableCellHead>
<TableCellHead onlyDesktop>Type</TableCellHead>
<TableCellHead onlyDesktop>Default Value</TableCellHead>
<TableCellHead width={30} />
</TableHeader>
<TableBody>
@@ -63,8 +63,8 @@
{/if}
</div>
</TableCell>
<TableCellText title="Type">{attribute.type}</TableCellText>
<TableCellText title="Default Value">
<TableCellText onlyDesktop title="Type">{attribute.type}</TableCellText>
<TableCellText onlyDesktop title="Default Value">
{attribute.default ? attribute.default : '-'}
</TableCellText>
<TableCell showOverflow>
@@ -50,9 +50,9 @@
<Table>
<TableHeader>
<TableCellHead>Key</TableCellHead>
<TableCellHead>Type</TableCellHead>
<TableCellHead>Attributes</TableCellHead>
<TableCellHead>Asc/Desc</TableCellHead>
<TableCellHead onlyDesktop>Type</TableCellHead>
<TableCellHead onlyDesktop>Attributes</TableCellHead>
<TableCellHead onlyDesktop>Asc/Desc</TableCellHead>
<TableCellHead width={30} />
</TableHeader>
<TableBody>
@@ -72,11 +72,11 @@
{/if}
</div>
</TableCell>
<TableCellText title="Type">{index.type}</TableCellText>
<TableCellText title="Attributes">
<TableCellText title="Type" onlyDesktop>{index.type}</TableCellText>
<TableCellText title="Attributes" onlyDesktop>
{index.attributes}
</TableCellText>
<TableCellText title="ASC/DESC">
<TableCellText title="ASC/DESC" onlyDesktop>
{index.orders}
</TableCellText>
<TableCell showOverflow>