Skip to content

Commit

Permalink
fix(minor): update skip icon for executions (#14809)
Browse files Browse the repository at this point in the history
  • Loading branch information
chirag-madlani authored Jan 23, 2024
1 parent 9c92bea commit c11fb01
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const getStatusBadgeIcon = (status?: StatusType) => {
return Icons.FAIL_BADGE;

case StatusType.Pending:
return Icons.PENDING_BADGE;
return Icons.SKIPPED_BADGE;

case StatusType.Skipped:
return Icons.SKIPPED_BADGE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import { Col, Row, Space, Tooltip } from 'antd';
import { DataNode } from 'antd/lib/tree';
import { groupBy, isUndefined, map, toLower, uniqueId } from 'lodash';
import { groupBy, isUndefined, map, toLower } from 'lodash';
import React, { ReactNode } from 'react';
import { MenuOptions } from '../constants/execution.constants';
import {
Expand Down Expand Up @@ -188,12 +188,12 @@ export const getTreeData = (
const viewElements = map(viewData, (value, key) => ({
key,
value: (
<Row gutter={16} key={uniqueId()}>
<Row gutter={16} key={key}>
<Col>
<div className="execution-node-container">
{value.map((status) => (
<Tooltip
key={uniqueId()}
key={`${status.timestamp}-${status.executionStatus}`}
placement="top"
title={
<Space direction="vertical">
Expand Down

0 comments on commit c11fb01

Please sign in to comment.