diff options
| author | mehekj <mehek.jethani@gmail.com> | 2022-08-15 22:36:56 -0400 |
|---|---|---|
| committer | mehekj <mehek.jethani@gmail.com> | 2022-08-15 22:36:56 -0400 |
| commit | d0d10426510e1bc8397eea927a65714b5b48f966 (patch) | |
| tree | 9e913e16d99634f03da3b998a8175bfc265fb124 /src/client/views/collections/collectionSchema/SchemaRowBox.tsx | |
| parent | ee77b8ff032d4b06c2f0b6ac8153a32e54ab8355 (diff) | |
add new doc as schema row
Diffstat (limited to 'src/client/views/collections/collectionSchema/SchemaRowBox.tsx')
| -rw-r--r-- | src/client/views/collections/collectionSchema/SchemaRowBox.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx index 8b658d834..ea2ebed7a 100644 --- a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx +++ b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx @@ -90,14 +90,9 @@ export class SchemaRowBox extends ViewBoxBaseComponent<SchemaRowBoxProps>() { <div className="row-button" onPointerDown={(e) => {e.stopPropagation(); this.props.addDocTab(this.props.Document, 'add:right')}}> <FontAwesomeIcon icon="external-link-alt" /> </div> - <div className="row-button"> - {this.props.rowIndex} - </div> </div> <div className="row-cells"> - {this.props.columnKeys.map((key, index) => ( - <SchemaTableCell Document={this.props.Document} key={key} fieldKey={key} columnWidth={this.props.columnWidths[index]} /> - ))} + {this.props.columnKeys.map((key, index) => (<SchemaTableCell Document={this.props.Document} fieldKey={key} columnWidth={this.props.columnWidths[index]} />))} </div> </div> ); |
