Skip to content

Commit

Permalink
[CN-2388] set status count default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Abel Rodriguez committed Jun 15, 2023
1 parent bed726b commit 8419814
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ interface IPipelineExecutionsProps {
export const PipelineExecutions = ({ appName, pipeline, parameters, statuses, dateRange, onStatusChange }: IPipelineExecutionsProps) => {
const [executions, setExecutions] = useState<IExecution[]>([]);
const [filteredExecutions, setFilteredExecutions] = useState<IExecution[]>([]);
const [statusCount, setStatusCount] = useState<Map<string, number>>();
const [statusCount, setStatusCount] = useState<Map<string, number>>(new Map<string, number>());
const [isLoading, setIsLoading] = useState<boolean>(true);
const styles = useStyles();

Expand Down

0 comments on commit 8419814

Please sign in to comment.