diff options
| author | Andy Rickert <andrew_rickert@brown.edu> | 2020-08-07 19:09:31 -0400 |
|---|---|---|
| committer | Andy Rickert <andrew_rickert@brown.edu> | 2020-08-07 19:09:31 -0400 |
| commit | d4cb5db00da87f8f11794b6272bc3b356dd982bf (patch) | |
| tree | f6b3cd84a93006bc460a870392729dcb32055ccb /src/client/views/collections/SchemaTable.tsx | |
| parent | b02cfed890d9d95a8f45bbc93d688bd3311dd387 (diff) | |
| parent | 97a677d363d4a45bf16f873bec6f6982103b083e (diff) | |
Merge branch 'schema_search'
Diffstat (limited to 'src/client/views/collections/SchemaTable.tsx')
| -rw-r--r-- | src/client/views/collections/SchemaTable.tsx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/client/views/collections/SchemaTable.tsx b/src/client/views/collections/SchemaTable.tsx index a974c5496..530004b54 100644 --- a/src/client/views/collections/SchemaTable.tsx +++ b/src/client/views/collections/SchemaTable.tsx @@ -318,27 +318,6 @@ export class SchemaTable extends React.Component<SchemaTableProps> { } - - @action - nextHighlight = (e: React.MouseEvent, doc: Doc) => { - e.preventDefault(); - e.stopPropagation(); - doc.searchMatch = false; - console.log(doc.searchMatch); - setTimeout(() => doc.searchMatch = true, 0); - console.log(doc.searchMatch); - - doc.searchIndex = NumCast(doc.searchIndex); - } - - @action - nextHighlight2 = (doc: Doc) => { - - doc.searchMatchAlt = false; - setTimeout(() => doc.searchMatchAlt = true, 0); - doc.searchIndex = NumCast(doc.searchIndex); - } - constructor(props: SchemaTableProps) { super(props); // convert old schema columns (list of strings) into new schema columns (list of schema header fields) |
