chore(collection-manager): load source field options

This commit is contained in:
ChengLei Shao 2023-05-31 19:04:01 +08:00
parent ea04d2309e
commit 78095d1128

View File

@ -284,6 +284,10 @@ export class CollectionManagerPlugin extends Plugin {
// find original field
const collectionField = this.app.db.getCollection(collectionSource).getField(fieldSource);
if (!collectionField) {
continue;
}
const newOptions = {};
// write original field options