Prechádzať zdrojové kódy

launchtemplate changes

jusrhee 5 rokov pred
rodič
commit
a67fa4dee3

BIN
dashboard/src/assets/lofi.png


+ 1 - 1
dashboard/src/components/values-form/ValuesForm.tsx

@@ -145,8 +145,8 @@ export default class ValuesForm extends Component<PropsType, StateType> {
               value={this.props.metaState[key]}
               setActiveValue={(val) => this.props.setMetaState({ [key]: val })}
               options={[
-                { value: 'gcp', label: 'Google Cloud Platform (GCP)' },
                 { value: 'aws', label: 'Amazon Web Services (AWS)' },
+                { value: 'gcp', label: 'Google Cloud Platform (GCP)' },
                 { value: 'do', label: 'DigitalOcean' },
               ]}
               dropdownLabel=''

+ 2 - 1
dashboard/src/main/home/templates/expanded-template/LaunchTemplate.tsx

@@ -357,7 +357,8 @@ export default class LaunchTemplate extends Component<PropsType, StateType> {
         <Subtitle>Template name
           <Warning highlight={!isAlphanumeric(this.state.templateName) && this.state.templateName !== ''}>
             (lowercase letters, numbers, and "-" only)
-          </Warning>. (Optional)</Subtitle>
+          </Warning>. (Optional)
+        </Subtitle>
         <DarkMatter antiHeight='-27px' />
         <InputRow
           type='text'