aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-21 12:37:47 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-21 12:37:47 -0400
commit24fad06cbd2e273bb6729f21956e35243e602bb7 (patch)
tree851f46c5e1d647a7559d5bd8af0c1de04524135c /src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
parent8414744f15b58f55cee14dbabb5c0e6a4a62a4c6 (diff)
fixed bug where equation didn't save in cell field on reloading (batching issue)
Diffstat (limited to 'src/client/views/collections/collectionSchema/CollectionSchemaView.tsx')
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
index 6838662c7..308520154 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
@@ -587,7 +587,7 @@ export class CollectionSchemaView extends CollectionSubView() {
const color = randomRGBColor();
const doc = info[0];
const field = info[1];
- const key = `${doc}_${field}`;
+ const key = `${doc[Id]}_${field}`;
const cell = this.getCellElement(doc, field);
if (!this._cellHighlightColors.has(key)) {this._cellHighlightColors.set(key, new Array<string>(`solid 2px ${color[0]}`, color[1]))}
cell.style.border = this._cellHighlightColors.get(key)[0];