瀏覽代碼

remove extraneous fields

sunguroku 5 年之前
父節點
當前提交
3f97248d20
共有 1 個文件被更改,包括 0 次插入24 次删除
  1. 0 24
      dashboard/src/main/home/integrations/create-integration/GCRForm.tsx

+ 0 - 24
dashboard/src/main/home/integrations/create-integration/GCRForm.tsx

@@ -102,14 +102,6 @@ export default class GCRForm extends Component<PropsType, StateType> {
           />
           <Heading>GCP Settings</Heading>
           <Helper>Service account credentials for GCP permissions.</Helper>
-          <InputRow
-            type="text"
-            value={this.state.gcpRegion}
-            setValue={(gcpRegion: string) => this.setState({ gcpRegion })}
-            label="📍 GCP Region"
-            placeholder="ex: uranus-north3"
-            width="100%"
-          />
           <UploadArea
             setValue={(x: any) => this.setState({ serviceAccountKey: x })}
             label="🔒 GCP Key Data (JSON)"
@@ -118,22 +110,6 @@ export default class GCRForm extends Component<PropsType, StateType> {
             height="100%"
             isRequired={true}
           />
-          <InputRow
-            type="text"
-            value={this.state.gcpProjectID}
-            setValue={(gcpProjectID: string) => this.setState({ gcpProjectID })}
-            label="📝 GCP Project ID"
-            placeholder="ex: skynet-dev-172969"
-            width="100%"
-          />
-          <InputRow
-            type="text"
-            value={this.state.url}
-            setValue={(url: string) => this.setState({ url })}
-            label="🔗 GCR URL"
-            placeholder="ex: gcr.io/skynet-dev-172969"
-            width="100%"
-          />
         </CredentialWrapper>
         <SaveButton
           text="Save Settings"