Skip to content

Commit bb680f7

Browse files
committed
ecer-5413 character reference bug
1 parent e3eab94 commit bb680f7

File tree

1 file changed

+3
-1
lines changed
  • src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/store

1 file changed

+3
-1
lines changed

src/ECER.Clients.RegistryPortal/ecer.clients.registryportal.client/src/store/wizard.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ export const useWizardStore = defineStore("wizard", {
140140

141141
// Character References step data
142142
...(wizard.steps?.characterReferences?.form?.inputs?.characterReferences?.id && {
143-
[wizard.steps?.characterReferences?.form?.inputs?.characterReferences?.id]: draftApplication?.characterReferences?.[0] || [],
143+
[wizard.steps?.characterReferences?.form?.inputs?.characterReferences?.id]: draftApplication?.characterReferences?.[0]
144+
? draftApplication?.characterReferences
145+
: [],
144146
}),
145147

146148
// Professional Development

0 commit comments

Comments
 (0)