Selaa lähdekoodia

log when image is set to false

jusrhee 5 vuotta sitten
vanhempi
sitoutus
83d61e26fd

+ 2 - 0
dashboard/src/main/home/cluster-dashboard/expanded-chart/ExpandedJobChart.tsx

@@ -212,6 +212,7 @@ export default class ExpandedJobChart extends Component<PropsType, StateType> {
           newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job" &&
           newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job:latest"
         ) {
+          console.log("set to false on crons", newestImage)
           this.setState({ newestImage, imageIsPlaceholder: false });
         }
       }
@@ -351,6 +352,7 @@ export default class ExpandedJobChart extends Component<PropsType, StateType> {
       newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job" &&
       newestImage !== "public.ecr.aws/o1j4x7p4/hello-porter-job:latest"
     ) {
+      console.log("set to false on sorting")
       this.setState({ jobs, newestImage, imageIsPlaceholder: false });
     } else {
       this.setState({ jobs });