Procházet zdrojové kódy

show jobs with no runs only in "All"

Anukul Sangwan před 4 roky
rodič
revize
cebc9a7e27

+ 2 - 2
dashboard/src/main/home/cluster-dashboard/chart/ChartList.tsx

@@ -316,9 +316,9 @@ const ChartList: React.FunctionComponent<Props> = ({
         const status: JobStatusWithTimeAndVersion = _.get(
         const status: JobStatusWithTimeAndVersion = _.get(
           jobStatus,
           jobStatus,
           getChartKey(chart.name, chart.namespace),
           getChartKey(chart.name, chart.namespace),
-          null
+          { status: null } as any
         );
         );
-        return !status || status.status === lastRunStatus;
+        return status.status === lastRunStatus;
       });
       });
 
 
     if (sortType == "Newest") {
     if (sortType == "Newest") {