aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-28 14:44:00 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-28 14:44:00 -0400
commitd6b99c63b93cd47dd4a68553969785656bf9dbaf (patch)
tree1e691ef02b815b6c7765a35028c12a758cd87c8d
parentb01f8732034396114c6a37665054de1617ccda1b (diff)
row drag changes saved through reload
-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 93347f067..ee693078f 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
@@ -734,7 +734,7 @@ export class CollectionSchemaView extends CollectionSubView() {
const draggedDocs = de.complete.docDragData?.draggedDocuments;
if (draggedDocs && super.onInternalDrop(e, de) && !this.sortField) {
const docs = this.docsWithDrag.docs.slice();
- this._docs = docs;
+ this.dataDoc[this.fieldKey ?? 'data'] = new List<Doc>([...docs]);
this.clearSelection();
draggedDocs.forEach(doc => {
DocumentView.addViewRenderedCb(doc, dv => dv.select(true));