TP-48565 | minor fix
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
goToLinkColor: #0276fe;
|
||||
}
|
||||
|
||||
:export {
|
||||
alertIconRed: #e92c2c;
|
||||
}
|
||||
|
||||
.table-wrapper {
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 24px;
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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} />;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
4
src/Pages/JiraDashboard/types.ts
Normal file
4
src/Pages/JiraDashboard/types.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export type FetchJiraDataProps = {
|
||||
filterQuery?: string;
|
||||
isDrawer?: boolean;
|
||||
};
|
||||
Reference in New Issue
Block a user