Skip to content

Commit

Permalink
Added missing fields to Pipetest Grid. (#871)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellhaaland authored Feb 23, 2024
1 parent 48c3300 commit 5db3ef6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libs/pipingapp/src/lib/config/tableConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ const columnDefinitions: [ColDef<Pipetest>, ...ColDef<Pipetest>[]] = [
},
{
headerName: domainNames.commIdentifier,
colId: 'commIdentifier',
valueGetter: (element) => '', // TODO: Add this once it is ready in the backend
colId: 'commissioningIdentifierCode',
valueGetter: (element) => element.data?.commissioningIdentifierCode,
},
{
headerName: 'MC Handover Status',
colId: 'mechanicalCompletionHandoverStatus',
valueGetter: (element) => '', // TODO: Add this once it is ready in the backend
valueGetter: (element) => element.data?.mechanicalCompletionHandoverStatus,
},
{
headerName: domainNames.mcResponsible,
Expand All @@ -143,7 +143,7 @@ const columnDefinitions: [ColDef<Pipetest>, ...ColDef<Pipetest>[]] = [
{
headerName: domainNames.mcPhase,
colId: 'mechanicalCompletionPhase',
valueGetter: (element) => '', // TODO: Add this once it is ready in the backend
valueGetter: (element) => element.data?.mechanicalCompletionPhase,
},
{
headerName: 'HT cables',
Expand Down
3 changes: 3 additions & 0 deletions libs/pipingshared/src/lib/types/pipetest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ export type Pipetest = {
mechanicalCompletionUrlId: string;
mechanicalCompletionResponsible: string;
mechanicalCompletionStatus: string;
mechanicalCompletionHandoverStatus: string;
mechanicalCompletionPhase: string;
mechanicalCompletionId: string;
commissioningPackageUrlId: string;
commissioningResponsible: string;
commissioningStatus: string;
commissioningPackageNo: string;
commissioningIdentifierCode: string;
dueDateTimePeriod: string;
isOverdue: string;
checklistStep: string;
Expand Down

0 comments on commit 5db3ef6

Please sign in to comment.