TP-77512|serversortable,geoloactions fix|varshitha (#1078)

* TP-77512|serversortable fix|varshitha

* TP-77512|geolactions mintimestamp fix|varshitha

* TP-77512|web-ui changes|varshitha
This commit is contained in:
Podili Varshitha
2024-08-23 16:43:39 +05:30
committed by GitHub
parent 8554affea3
commit 02e779f0fb
4 changed files with 10 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ const Geolocations = () => {
longitude: currentlyExpandedGeolocation?.longitude
}}
pingCount={currentlyExpandedGeolocation?.pingCount}
minTimeStamp={currentlyExpandedGeolocation?.minTimeStamp}
minTimeStamp={currentlyExpandedGeolocation?.minTimestamp}
/>
)}
</div>

View File

@@ -28,7 +28,7 @@ export interface IGeoLocation {
pingCount: number;
isPrimary: boolean;
tag: string;
minTimeStamp: number;
minTimestamp: number;
}
export interface IAddressFeedback {

View File

@@ -12,6 +12,7 @@ export const TEAM_LEAD_COLUMN_DEFS = [
field: 'customerName',
headerName: 'Customer Name',
minWidth: 180,
serverSortable: false,
cellRenderer: (params: ICellRendererParams) => {
return (
<Tooltip placement="top" hiddenPadding={0} hideStrategy="referenceHidden">
@@ -27,6 +28,7 @@ export const TEAM_LEAD_COLUMN_DEFS = [
field: 'accountNumber',
headerName: 'LAN',
maxWidth: 180,
serverSortable: false,
cellRenderer: (params: ICellRendererParams) => {
return <EllipsisText text={params.value} />;
}
@@ -55,6 +57,7 @@ export const TEAM_LEAD_COLUMN_DEFS = [
field: 'agentName',
headerName: 'Agent Name',
width: 200,
serverSortable: false,
cellRenderer: (params: ICellRendererParams) => {
return (
<Tooltip placement="top" hiddenPadding={0} hideStrategy="referenceHidden">
@@ -70,6 +73,7 @@ export const TEAM_LEAD_COLUMN_DEFS = [
field: 'agentPhoneNumber',
headerName: 'Agent Number',
width: 145,
serverSortable: false,
cellRenderer: (params: ICellRendererParams) => {
return <EllipsisText text={params.value} />;
}
@@ -78,6 +82,7 @@ export const TEAM_LEAD_COLUMN_DEFS = [
field: 'agentType',
headerName: 'Agent Type',
width: 110,
serverSortable: false,
cellRenderer: (params: ICellRendererParams) => {
return <EllipsisText text={AgentTypes[params.value]} />;
}
@@ -86,6 +91,7 @@ export const TEAM_LEAD_COLUMN_DEFS = [
field: 'agencyName',
headerName: 'Agency Name',
width: 160,
serverSortable: false,
cellRenderer: (params: ICellRendererParams) => {
return (
<Tooltip placement="top" hiddenPadding={0} hideStrategy="referenceHidden">
@@ -101,6 +107,7 @@ export const TEAM_LEAD_COLUMN_DEFS = [
field: 'feedbackType',
headerName: 'Last feedback',
width: 300,
serverSortable: false,
cellRendererSelector: (params: ICellRendererParams) => {
const feedbackType: string = params.data.feedbackType;
const { color = 'green', label } = FeedbackTypesCodeMap[feedbackType] || {};