Skip to content

Commit

Permalink
Don't clone with collection name
Browse files Browse the repository at this point in the history
  • Loading branch information
Haaxor1689 committed Nov 10, 2024
1 parent 12b9d00 commit 6b29f55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/builder/TalentBuilder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ const TalentBuilder = (props: Props) => {
...values,
id: newId,
name: `${values.name} (copy)`,
collection: null,
public: false,
createdBy: null,
createdById: null,
Expand Down
3 changes: 2 additions & 1 deletion src/server/api/routers/collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
)
}))
Expand Down

0 comments on commit 6b29f55

Please sign in to comment.