Просмотр исходного кода

hide image selector from add-on templates

sunguroku 5 лет назад
Родитель
Сommit
e16839cf80

+ 4 - 3
dashboard/src/main/home/templates/expanded-template/LaunchTemplate.tsx

@@ -80,7 +80,8 @@ export default class LaunchTemplate extends Component<PropsType, StateType> {
               key={tab.name}
               sections={tab.sections} 
               onSubmit={this.onSubmit}
-              disabled={!this.state.selectedImageUrl || this.state.selectedImageUrl === ''}
+              // disabled={!this.state.selectedImageUrl || this.state.selectedImageUrl === ''}
+              disabled={false}
               saveValuesStatus={this.state.saveValuesStatus}
             />
           </ValuesFormWrapper>
@@ -184,7 +185,7 @@ export default class LaunchTemplate extends Component<PropsType, StateType> {
           />
         </ClusterSection>
 
-        <Subtitle>Select the container image you would like to connect to this template (optional).</Subtitle>
+        {/* <Subtitle>Select the container image you would like to connect to this template (optional).</Subtitle>
         <Br />
         <ImageSelector
           selectedTag={this.state.selectedTag}
@@ -195,7 +196,7 @@ export default class LaunchTemplate extends Component<PropsType, StateType> {
           setCurrentView={this.props.setCurrentView}
         />
 
-        <br />
+        <br /> */}
         <Subtitle>Configure additional settings for this template (optional).</Subtitle>
         <TabRegion
           options={this.state.tabOptions}