Explorar el Código

update icon for gcr image list

Alexander Belanger hace 4 años
padre
commit
07cbf4666e

+ 1 - 1
dashboard/src/main/home/onboarding/components/RegistryImageList.tsx

@@ -41,7 +41,7 @@ const RegistryImageList: React.FC<{
         integrationList[registryType] && integrationList[registryType].icon
         integrationList[registryType] && integrationList[registryType].icon
       );
       );
     } else {
     } else {
-      return integrationList["docker"].icon;
+      return integrationList["dockerhub"].icon;
     }
     }
   };
   };
 
 

+ 1 - 0
dashboard/src/main/home/onboarding/steps/ConnectRegistry/forms/_GCPRegistryForm.tsx

@@ -324,6 +324,7 @@ export const TestRegistryConnection: React.FC<{
       <RegistryImageList
       <RegistryImageList
         project={snap.project}
         project={snap.project}
         registry_id={snap.connected_registry.settings.registry_connection_id}
         registry_id={snap.connected_registry.settings.registry_connection_id}
+        registryType={"gcr"}
       />
       />
       <SaveButton
       <SaveButton
         text="Continue"
         text="Continue"