Wizard: have a skip button to skip collection init.

master
Tom Hacohen 4 years ago
parent 8aa90ed86d
commit 022d4ea2e2

@ -86,7 +86,16 @@ function SetupCollectionsPage(props: PagePropsType) {
{(loading) ? ( {(loading) ? (
<LoadingIndicator style={{ display: "block", margin: "40px auto" }} /> <LoadingIndicator style={{ display: "block", margin: "40px auto" }} />
) : (error) ? ( ) : (error) ? (
<Alert severity="error">{error.message}</Alert> <>
<Alert severity="error">{error.message}</Alert>
<Button
variant="contained"
color="primary"
onClick={props.next}
>
Skip
</Button>
</>
) : ( ) : (
<img src={wizardCreate} style={{ maxWidth: "30em", marginTop: "2em" }} /> <img src={wizardCreate} style={{ maxWidth: "30em", marginTop: "2em" }} />
)} )}

Loading…
Cancel
Save