Explorar o código

Disable Changes to Values for GCP Clusters (#3925)

sdess09 %!s(int64=2) %!d(string=hai) anos
pai
achega
87f6d03441
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      dashboard/src/components/GCPProvisionerSettings.tsx

+ 3 - 3
dashboard/src/components/GCPProvisionerSettings.tsx

@@ -550,7 +550,7 @@ const GCPProvisionerSettings: React.FC<Props> = (props) => {
           <SelectRow
           <SelectRow
             options={locationOptions}
             options={locationOptions}
             width="350px"
             width="350px"
-            disabled={isReadOnly || isLoading}
+            disabled={true}
             value={region}
             value={region}
             scrollBuffer={true}
             scrollBuffer={true}
             dropdownMaxHeight="240px"
             dropdownMaxHeight="240px"
@@ -561,7 +561,7 @@ const GCPProvisionerSettings: React.FC<Props> = (props) => {
           <SelectRow
           <SelectRow
             options={clusterVersionOptions}
             options={clusterVersionOptions}
             width="350px"
             width="350px"
-            disabled={isReadOnly}
+            disabled={true}
             value={clusterVersion}
             value={clusterVersion}
             scrollBuffer={true}
             scrollBuffer={true}
             dropdownMaxHeight="240px"
             dropdownMaxHeight="240px"
@@ -572,7 +572,7 @@ const GCPProvisionerSettings: React.FC<Props> = (props) => {
           <SelectRow
           <SelectRow
             options={instanceTypes}
             options={instanceTypes}
             width="350px"
             width="350px"
-            disabled={isReadOnly}
+            disabled={true}
             value={instanceType}
             value={instanceType}
             scrollBuffer={true}
             scrollBuffer={true}
             dropdownMaxHeight="240px"
             dropdownMaxHeight="240px"