aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorAndy Rickert <andrew_rickert@brown.edu>2020-08-05 15:09:49 -0400
committerAndy Rickert <andrew_rickert@brown.edu>2020-08-05 15:09:49 -0400
commit6612acac309767c6deafc45d931e42ff1ee4c86b (patch)
tree28a0a6e3c0ecf4b7e0e2fe09b04d9d288640100c /src/client/views/collections
parent2ab24585afee218bb1bd4e2cb9b29860f72a6587 (diff)
fixes for bob
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/CollectionSchemaCells.tsx4
-rw-r--r--src/client/views/collections/CollectionSchemaView.scss10
-rw-r--r--src/client/views/collections/SchemaTable.tsx6
3 files changed, 5 insertions, 15 deletions
diff --git a/src/client/views/collections/CollectionSchemaCells.tsx b/src/client/views/collections/CollectionSchemaCells.tsx
index f627faa63..d11d6a5ba 100644
--- a/src/client/views/collections/CollectionSchemaCells.tsx
+++ b/src/client/views/collections/CollectionSchemaCells.tsx
@@ -902,8 +902,8 @@ export class CollectionSchemaButtons extends CollectionSchemaCell {
</button>
<button onClick={() => {
{
- doc.searchMatch2 = false;
- setTimeout(() => doc.searchMatch2 = true, 0);
+ doc.searchMatchAlt = false;
+ setTimeout(() => doc.searchMatchAlt = true, 0);
doc.searchIndex = NumCast(doc.searchIndex);
}
}} style={{ padding: 2 }}>
diff --git a/src/client/views/collections/CollectionSchemaView.scss b/src/client/views/collections/CollectionSchemaView.scss
index 897c11dc7..6bf24fe63 100644
--- a/src/client/views/collections/CollectionSchemaView.scss
+++ b/src/client/views/collections/CollectionSchemaView.scss
@@ -161,16 +161,6 @@
.collectionSchema-col {
height: 100%;
-
- .collectionSchema-apper {
- &.col-before {
- border-left: 2px solid red;
- }
-
- &.col-after {
- border-right: 2px solid red;
- }
- }
}
diff --git a/src/client/views/collections/SchemaTable.tsx b/src/client/views/collections/SchemaTable.tsx
index 8b7717ad1..83830e111 100644
--- a/src/client/views/collections/SchemaTable.tsx
+++ b/src/client/views/collections/SchemaTable.tsx
@@ -160,7 +160,7 @@ export class SchemaTable extends React.Component<SchemaTableProps> {
const focusedCol = this._focusedCell.col;
const isEditable = !this.props.headerIsEditing;
- if (this.childDocs.reduce((found, doc) => found || doc.type === "nnnnn", false)) {
+ if (this.childDocs.reduce((found, doc) => found || doc.type === "x", false)) {
columns.push(
{
expander: true,
@@ -334,8 +334,8 @@ export class SchemaTable extends React.Component<SchemaTableProps> {
@action
nextHighlight2 = (doc: Doc) => {
- doc.searchMatch2 = false;
- setTimeout(() => doc.searchMatch2 = true, 0);
+ doc.searchMatchAlt = false;
+ setTimeout(() => doc.searchMatchAlt = true, 0);
doc.searchIndex = NumCast(doc.searchIndex);
}