aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-28 14:32:27 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-28 14:32:27 -0400
commitb01f8732034396114c6a37665054de1617ccda1b (patch)
treec9b03fe31c7f0d1994782e965d691c8ea21fdbb0 /src
parent21a9278abe3bab3a7da7eef079a27169cc2cd49c (diff)
fixed selected row highlight on new col
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/collectionSchema/SchemaRowBox.tsx5
-rw-r--r--src/client/views/collections/collectionSchema/SchemaTableCell.tsx5
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 ''
}