diff options
| author | bobzel <zzzman@gmail.com> | 2024-04-28 13:08:09 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-04-28 13:08:09 -0400 |
| commit | 729114c0867e3cc8d8e0668bae451976b387cb34 (patch) | |
| tree | 210350ff6716651c542fb4ecf8782e68d4dda9a3 /src/client/views/collections/collectionSchema | |
| parent | 33b52b9344768b4db034cceed3c1ccab9a30c949 (diff) | |
simplified explore mode implementation
Diffstat (limited to 'src/client/views/collections/collectionSchema')
| -rw-r--r-- | src/client/views/collections/collectionSchema/SchemaTableCell.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx index b89ca3614..dfef3aa48 100644 --- a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx +++ b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx @@ -179,7 +179,7 @@ export class SchemaTableCell extends ObservableReactComponent<SchemaTableCellPro case ColumnType.Image: return <SchemaImageCell {...this._props} />; case ColumnType.Boolean: return <SchemaBoolCell {...this._props} />; case ColumnType.RTF: return <SchemaRTFCell {...this._props} />; - case ColumnType.Enumeration: return <SchemaEnumerationCell {...this._props} options={this._props.getFinfo(this._props.fieldKey)?.values?.map(val => val.toString())} />; + case ColumnType.Enumeration: return <SchemaEnumerationCell {...this._props} options={this._props.getFinfo(this._props.fieldKey)?.values?.map(val => Field.toString(val))} />; case ColumnType.Date: return <SchemaDateCell {...this._props} />; default: return this.defaultCellContent; } |
