Skip to content

Commit

Permalink
Correctly receive bundled book and alt greetings on import
Browse files Browse the repository at this point in the history
  • Loading branch information
sceuick committed Jun 29, 2023
1 parent 0fd4b58 commit 2649c68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/shared/CreateCharacterForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ export const CreateCharacterForm: Component<{
const { file, json } = await downloadCharacterHub(query.import)
const imageData = await getImageData(file)
setDownloaded(json)
setBundledBook(json.characterBook)
setAlternateGreetings(json.alternateGreetings ?? [])
setImage(imageData)
setAvatar(() => file)
setSchema('text')
Expand Down

0 comments on commit 2649c68

Please sign in to comment.