TP-48565 | minor fix

This commit is contained in:
AyushRanjan
2024-01-03 20:21:21 +05:30
parent 9ab5b92d01
commit e8e86d302c
4 changed files with 11 additions and 2 deletions

View File

@@ -2,6 +2,10 @@
goToLinkColor: #0276fe;
}
:export {
alertIconRed: #e92c2c;
}
.table-wrapper {
box-sizing: border-box;
padding-bottom: 24px;

View File

@@ -5,6 +5,7 @@ import { DropDownPosition } from '@navi/web-ui/lib/components/Pagination/constan
import { returnFormattedDate } from '@src/services/globalUtils';
import { JiraDashboardData } from '@src/types';
import cx from 'classnames';
import { FetchJiraDataProps } from '../types';
import HyperlinkCellRenderer from './HyperlinkCellRenderer';
import TeamAssignedCellRenderer from './TeamAssignedCellRenderer';
import TicketNameCell from './ticketNameCell';
@@ -19,7 +20,7 @@ interface SearchResultTableProps {
currentPageSize: number;
handlePageNumberChange: (pageNumber: number) => void;
handlePageSizeChange: (pageSize: number) => void;
fetchJiraData: (props: any) => void;
fetchJiraData: (props: FetchJiraDataProps) => void;
}
const defaultColDef = {

View File

@@ -25,7 +25,7 @@ const getTicketIcon = (ticketType: string): JSX.Element | null => {
case 'Tech Task':
return <TechTaskIcon />;
default:
return <AlertOutlineIcon color="#E92C2C" />;
return <AlertOutlineIcon color={styles.alertIconRed} />;
}
};

View File

@@ -0,0 +1,4 @@
export type FetchJiraDataProps = {
filterQuery?: string;
isDrawer?: boolean;
};