Rename image creator and image wizard
The names of component and files were not matching
This commit is contained in:
parent
09f467ffb7
commit
a01d00c3fe
7 changed files with 23 additions and 20 deletions
|
|
@ -9,7 +9,7 @@ export default {
|
|||
customTitle: <Title headingLevel="h1" size="xl">Target Environment - Amazon Web Service</Title>,
|
||||
name: 'aws-target-env',
|
||||
substepOf: 'Target environment',
|
||||
nextStep: ({ values }) => nextStepMapper(values, true),
|
||||
nextStep: ({ values }) => nextStepMapper(values, { skipAws: true }),
|
||||
fields: [
|
||||
{
|
||||
component: componentTypes.PLAIN_TEXT,
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ export default {
|
|||
customTitle: <Title headingLevel="h1" size="xl">Target Environment - Google Cloud Platform</Title>,
|
||||
name: 'google-cloud-target-env',
|
||||
substepOf: 'Target environment',
|
||||
nextStep: ({ values }) => nextStepMapper(values, true, true),
|
||||
nextStep: ({ values }) => nextStepMapper(values, { skipGoogle: true, skipAws: true }),
|
||||
fields: [
|
||||
{
|
||||
component: componentTypes.PLAIN_TEXT,
|
||||
|
|
|
|||
|
|
@ -25,16 +25,16 @@ export default {
|
|||
"Contributor" to at least one resource group.<br />
|
||||
</Text>
|
||||
<small>
|
||||
<Button
|
||||
component="a"
|
||||
target="_blank"
|
||||
variant="link"
|
||||
icon={ <ExternalLinkAltIcon /> }
|
||||
iconPosition="right"
|
||||
isInline
|
||||
href="https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow">
|
||||
<Button
|
||||
component="a"
|
||||
target="_blank"
|
||||
variant="link"
|
||||
icon={ <ExternalLinkAltIcon /> }
|
||||
iconPosition="right"
|
||||
isInline
|
||||
href="https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow">
|
||||
Learn more about OAuth 2.0
|
||||
</Button>
|
||||
</Button>
|
||||
</small>
|
||||
<a href="https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=b94bb246-b02c-4985-9c22-d44e66f657f4
|
||||
&scope=openid&response_type=code&response_mode=form_post
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
export default ({ 'target-environment': targetEnv, release } = {}, skipFirst, skipSecond) => {
|
||||
if (!skipFirst && targetEnv?.aws) {
|
||||
export default ({ 'target-environment': targetEnv, release } = {}, { skipAws, skipGoogle, sipAzure } = {}) => {
|
||||
if (!skipAws && targetEnv?.aws) {
|
||||
return 'aws-target-env';
|
||||
}
|
||||
|
||||
if (!skipSecond && targetEnv?.google) {
|
||||
if (!skipGoogle && targetEnv?.google) {
|
||||
return 'google-cloud-target-env';
|
||||
}
|
||||
|
||||
if (targetEnv?.azure) {
|
||||
if (!sipAzure && targetEnv?.azure) {
|
||||
return 'ms-azure-target-env';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue