Skip to content

Commit

Permalink
fix(cc-email-list): fix initialization of the addEmailFormState pro…
Browse files Browse the repository at this point in the history
…perty when smart context is updated
  • Loading branch information
pdesoyres-cc committed Jan 29, 2025
1 parent bfa7f68 commit 9c87e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cc-email-list/cc-email-list.smart.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defineSmartComponent({
*/
onContextUpdate({ component, context, onEvent, updateComponent, signal }) {
updateComponent('emails', { state: 'loading' });
updateComponent('addEmailFormState', { state: 'idle' });
updateComponent('addEmailFormState', { type: 'idle' });
component.resetAddEmailForm();

const api = getApi(context.apiConfig, signal);
Expand Down

0 comments on commit 9c87e32

Please sign in to comment.