Feroze Mohideen 2 anni fa
parent
commit
e205c1d0de

+ 0 - 2
dashboard/src/lib/hooks/useGithubWorkflow.ts

@@ -12,8 +12,6 @@ export const useGithubWorkflow = (appData: any, hasBuiltImage: boolean) => {
         return useQuery(
             [`checkForApplicationWorkflow_${fileName}`, currentProject?.id, currentCluster?.id, githubWorkflowFilename, appData, hasBuiltImage],
             async () => {
-                console.log("checking for workflow file", fileName)
-                console.log("here is the github workflow name", githubWorkflowFilename)
                 if (githubWorkflowFilename !== "") {
                     return githubWorkflowFilename;
                 }

+ 1 - 2
dashboard/src/lib/hooks/useHasBuiltImage.ts

@@ -9,9 +9,8 @@ export const useHasBuiltImage = (appName: string | undefined) => {
     const [hasBuiltImage, setHasBuiltImage] = useState<boolean>(false);
 
     const { data } = useQuery(
-        ["checkForBuiltImage", currentProject?.id, currentCluster?.id],
+        ["checkForBuiltImage", currentProject?.id, currentCluster?.id, hasBuiltImage],
         async () => {
-            console.log("checking for built image")
             if (hasBuiltImage) {
                 return true;
             }

+ 1 - 1
dashboard/src/main/home/app-dashboard/expanded-app/StatusFooter.tsx

@@ -300,7 +300,7 @@ const StatusFooter: React.FC<Props> = ({
         replicaSetArray.map((replicaSet, i) => {
           return (
             <StatusFooterContainer key={i}>
-              <StyledStatusFooterTop key={i} expanded={expanded}>
+              <StyledStatusFooterTop expanded={expanded}>
                 <StyledContainer row spaced>
                   {replicaSet.some((r) => r.crashLoopReason != "") || replicaSet.some((r) => r.failing) ? (
                     <>