Skip to content

Commit

Permalink
fix(core): avoid rendering wizard pages before they have registered (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry committed Mar 13, 2018
1 parent 33d70fe commit 931f8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/modules/core/src/modal/wizard/WizardModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class WizardModal<T extends FormikValues> extends React.Component<IWizard
const { currentPage, dirtyPages, errorPages, formInvalid, pages, waiting } = this.state;
const { TaskMonitorWrapper } = NgReact;

const pagesToShow = pages.filter((page) => !hideSections.has(page));
const pagesToShow = pages.filter((page) => !hideSections.has(page) && this.pages[page]);

const submitting = taskMonitor && taskMonitor.submitting;

Expand Down

0 comments on commit 931f8a3

Please sign in to comment.