Skip to content

Commit

Permalink
resolved comments by Paulo
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzgrewal committed Nov 5, 2024
1 parent bb589fe commit b540db6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 461 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,233 +52,4 @@ export const columns: ITableHeader[] = [
header: 'Actions',
selected: true
}
];


export const rows:any = [
{
id: '114207',
openingId: '114207',
fileId: 'TFL47',
cuttingPermit: '12S',
timberMark: '47/12S',
cutBlock: '12-69',
grossAreaHa: '12.9',
status: 'Free growing',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2022-10-27',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-27'
},
{
id: '114206',
openingId: '114206',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-69',
grossAreaHa: '12.9',
status: 'Free growing',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2022-09-04',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-27'
},
{
id: '114205',
openingId: '114205',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Free growing',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2022-09-04',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-27'
},
{
id: '114204',
openingId: '114204',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Active',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2022-01-16',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-26'
},
{
id: '114203',
openingId: '114203',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Active',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2021-12-08',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-26'
},
{
id: '114202',
openingId: '114202',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Free growing',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2021-11-15',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-25'
},
{
id: '114201',
openingId: '114201',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Free growing',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2021-11-15',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-25'
},
{
id: '114200',
openingId: '114200',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Active',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2021-10-20',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-24'
},
{
id: '114199',
openingId: '114199',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Active',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2021-10-20',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-24'
},
{
id: '114198',
openingId: '114198',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Free growing',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2021-09-12',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-23'
},
{
id: '114197',
openingId: '114197',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Free growing',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2021-09-12',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-23'
},
{
id: '114196',
openingId: '114196',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Free growing',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2021-08-05',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-22'
},
{
id: '114195',
openingId: '114195',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Free growing',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2021-08-05',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-22'
},
{
id: '114194',
openingId: '114194',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Active',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2021-07-10',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-21'
},
{
id: '114193',
openingId: '114193',
fileId: 'TFL47',
cuttingPermit: '12T',
timberMark: '47/12S',
cutBlock: '12-44A',
grossAreaHa: '12.9',
status: 'Active',
category: 'FTML',
disturbanceStart: '-',
createdAt: '2021-07-10',
orgUnit: 'DCC - Cariboo chilcotin natural resources',
lastViewed: '2022-10-21'
}
];
];
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,9 @@ const SearchScreenDataTable: React.FC<ISearchScreenDataTable> = ({
markAsViewedOpening(openingId, {
onSuccess: () => {
// setToastText(`Successfully marked opening ${openingId} as viewed.`);
console.log(`Successfully marked opening ${openingId} as viewed.`);
},
onError: (err: any) => {
// setToastText(`Failed to mark as viewed: ${err.message}`);
console.log(`Failed to mark as viewed: ${err.message}`);
}
});
};
Expand Down
Loading

0 comments on commit b540db6

Please sign in to comment.