add launch prompt inventory step

This commit is contained in:
Keith Grant
2020-03-26 15:50:40 -07:00
parent 49b1ce6e8c
commit 7f4bbbe5c5
4 changed files with 116 additions and 15 deletions

View File

@@ -163,7 +163,12 @@ class LaunchButton extends React.Component {
<ErrorDetail error={launchError} />
</AlertModal>
)}
{showLaunchPrompt && <LaunchPrompt config={launchConfig} />}
{showLaunchPrompt && (
<LaunchPrompt
config={launchConfig}
onCancel={() => this.setState({ showLaunchPrompt: false })}
/>
)}
</Fragment>
);
}