diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/collectionSchema/SchemaRowBox.tsx | 5 | ||||
-rw-r--r-- | src/client/views/collections/collectionSchema/SchemaTableCell.tsx | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx index 077d95c57..9ac7a24b2 100644 --- a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx +++ b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx @@ -90,10 +90,7 @@ export class SchemaRowBox extends ViewBoxBaseComponent<SchemaRowBoxProps>() { } @computed get menuBackgroundColor(){ - if (this.Document._lockedSchemaEditing){ - if (this._props.isSelected()) return '#B0D1E7' - else return '#F5F5F5' - } + if (this.Document._lockedSchemaEditing) {return '#F5F5F5'} return '' } diff --git a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx index d06e2a147..084306c4a 100644 --- a/src/client/views/collections/collectionSchema/SchemaTableCell.tsx +++ b/src/client/views/collections/collectionSchema/SchemaTableCell.tsx @@ -94,10 +94,7 @@ export class SchemaTableCell extends ObservableReactComponent<SchemaTableCellPro get lockedInteraction(){return (this.isDefault || this._props.Document._lockedSchemaEditing);} // prettier-ignore get backgroundColor(){ - if (this.lockedInteraction){ - if (this._props.rowSelected()) return '#B0D1E7' - else return '#F5F5F5' - } + if (this.lockedInteraction) {return '#F5F5F5'} return '' } |