From 931f8a396d6109898e78ed57830161bc9afbd654 Mon Sep 17 00:00:00 2001 From: Chris Berry Date: Tue, 13 Mar 2018 10:59:32 -0700 Subject: [PATCH] fix(core): avoid rendering wizard pages before they have registered (#4990) --- app/scripts/modules/core/src/modal/wizard/WizardModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/modules/core/src/modal/wizard/WizardModal.tsx b/app/scripts/modules/core/src/modal/wizard/WizardModal.tsx index 67ab6d4525e..f3bd8bcbc15 100644 --- a/app/scripts/modules/core/src/modal/wizard/WizardModal.tsx +++ b/app/scripts/modules/core/src/modal/wizard/WizardModal.tsx @@ -166,7 +166,7 @@ export class WizardModal extends React.Component !hideSections.has(page)); + const pagesToShow = pages.filter((page) => !hideSections.has(page) && this.pages[page]); const submitting = taskMonitor && taskMonitor.submitting;