aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-22 15:47:12 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-22 15:47:12 -0400
commit7f9d92b3e1d0ca433c732936eae767095c9a5e7f (patch)
tree408bc892e627d9ab6a8257132e6cb1603d7c8921 /src/client/views/collections/collectionSchema/SchemaRowBox.tsx
parent24fad06cbd2e273bb6729f21956e35243e602bb7 (diff)
work on cell field (numerous bugs fixed: spaces now make new divs, invalid refs no longer break things, valid->invalid ref causes update properly)
Diffstat (limited to 'src/client/views/collections/collectionSchema/SchemaRowBox.tsx')
-rw-r--r--src/client/views/collections/collectionSchema/SchemaRowBox.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
index 6f6b6decf..f4320dc09 100644
--- a/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
+++ b/src/client/views/collections/collectionSchema/SchemaRowBox.tsx
@@ -125,9 +125,8 @@ export class SchemaRowBox extends ViewBoxBaseComponent<SchemaRowBoxProps>() {
equationHighlightRef = (text: string) => {
}
- eqHighlightFunc = (text: string, raw: boolean) => {
- const info = this.schemaView.findCellRefs(text, raw);
- if (raw) return info;
+ eqHighlightFunc = (text: string) => {
+ const info = this.schemaView.findCellRefs(text);
const cells: HTMLDivElement[] = [];
info.forEach(info => {cells.push(this.schemaView.getCellElement(info[0], info[1]))})
return cells;