aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSchemaCells.tsx
diff options
context:
space:
mode:
authorSam Wilkins <abdullah_ahmed@brown.edu>2019-07-22 11:38:55 -0400
committerSam Wilkins <abdullah_ahmed@brown.edu>2019-07-22 11:38:55 -0400
commite81cf9407966612e25b944addbc8d2a08300d0bb (patch)
tree2ba497b2875a11e9698aacbfaa02724e71da1e7d /src/client/views/collections/CollectionSchemaCells.tsx
parentd520956fdf3471f98bd7cde6aa28b47c1b4cbf32 (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.tsx3
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";
}