mirror of
https://github.com/outline/outline.git
synced 2026-05-08 02:50:30 -05:00
API importer for Notion (#8710)
This commit is contained in:
@@ -26,7 +26,7 @@ export async function collectionIndexing(
|
||||
for (const collection of sortable) {
|
||||
if (collection.index === null) {
|
||||
collection.index = fractionalIndex(previousIndex, null);
|
||||
promises.push(collection.save({ transaction }));
|
||||
promises.push(collection.save({ fields: ["index"], transaction })); // save only index to prevent overwriting other unfetched fields.
|
||||
}
|
||||
|
||||
previousIndex = collection.index;
|
||||
|
||||
Reference in New Issue
Block a user