diff --git a/src/components/builder/TalentBuilder.tsx b/src/components/builder/TalentBuilder.tsx index 7aec138..95326ba 100644 --- a/src/components/builder/TalentBuilder.tsx +++ b/src/components/builder/TalentBuilder.tsx @@ -146,6 +146,7 @@ const TalentBuilder = (props: Props) => { ...values, id: newId, name: `${values.name} (copy)`, + collection: null, public: false, createdBy: null, createdById: null, diff --git a/src/server/api/routers/collection.ts b/src/server/api/routers/collection.ts index d9ce0ba..93e8d27 100644 --- a/src/server/api/routers/collection.ts +++ b/src/server/api/routers/collection.ts @@ -111,7 +111,8 @@ export const exportCollection = adminProcedure({ name: l.name, ranks: l.ranks, description: l.description, - requires: l.requires + requires: l.requires, + spellIds: l.spellIds } ) }))