diff options
author | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-06-30 19:42:18 -0400 |
---|---|---|
committer | Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> | 2024-06-30 19:42:18 -0400 |
commit | fc4b71f2623fe1602d911b71828b8b3f6c0ce0cd (patch) | |
tree | 007d68def63aaa99ea81c38ec8700ed011fab9b4 /src/client/views | |
parent | c528298bf2375daff4ba8de170870eddf331aa4e (diff) |
deleting column no longer messes up drag highlight; removed unecessary documents.ts changes
Diffstat (limited to 'src/client/views')
-rw-r--r-- | src/client/views/collections/collectionSchema/CollectionSchemaView.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx index 1b23e3c40..2f62b1c8d 100644 --- a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx +++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx @@ -43,6 +43,7 @@ import { DocumentManager } from '../../../util/DocumentManager'; import { TbHemispherePlus } from 'react-icons/tb'; import { docs_v1 } from 'googleapis'; import { SchemaCellField } from './SchemaCellField'; +import { threadId } from 'worker_threads'; const { SCHEMA_NEW_NODE_HEIGHT } = require('../../global/globalCssVariables.module.scss'); // prettier-ignore @@ -370,6 +371,8 @@ export class CollectionSchemaView extends CollectionSubView() { const currKeys = this.columnKeys.slice(); currKeys.splice(index, 1); this.layoutDoc.schema_columnKeys = new List<string>(currKeys); + + this._colEles.splice(index, 1); }; @action |