diff options
| author | Sam Wilkins <abdullah_ahmed@brown.edu> | 2019-07-22 11:38:55 -0400 |
|---|---|---|
| committer | Sam Wilkins <abdullah_ahmed@brown.edu> | 2019-07-22 11:38:55 -0400 |
| commit | e81cf9407966612e25b944addbc8d2a08300d0bb (patch) | |
| tree | 2ba497b2875a11e9698aacbfaa02724e71da1e7d /src/client/views/collections/CollectionSchemaCells.tsx | |
| parent | d520956fdf3471f98bd7cde6aa28b47c1b4cbf32 (diff) | |
editing + nav on schema only occur when that schemaview is selected
Diffstat (limited to 'src/client/views/collections/CollectionSchemaCells.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSchemaCells.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionSchemaCells.tsx b/src/client/views/collections/CollectionSchemaCells.tsx index 91bd0453e..55185e30e 100644 --- a/src/client/views/collections/CollectionSchemaCells.tsx +++ b/src/client/views/collections/CollectionSchemaCells.tsx @@ -51,6 +51,9 @@ export class CollectionSchemaCell extends React.Component<CellProps> { if (this._focusRef.current) { if (this.props.isFocused) { this._focusRef.current.className += " focused"; + if (!this.props.isEditable) { + this._focusRef.current.className += " inactive"; + } } else { this._focusRef.current.className = "collectionSchemaView-cellWrapper"; } |
