|
|
@ -395,10 +395,11 @@ const CreatedProyek = ({ params, ...props }) => { |
|
|
|
orders: { columns: ["nama"], ascending: true }, |
|
|
|
orders: { columns: ["nama"], ascending: true }, |
|
|
|
paging: { start: start, length: rowsPerPage }, |
|
|
|
paging: { start: start, length: rowsPerPage }, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
if (all_project === 'false' || all_project === 'null') { |
|
|
|
payload.columns.push( |
|
|
|
payload.columns.push( |
|
|
|
{ name: "created_by_id", logic_operator: "IN", value: [JSON.parse(hierarchy)], operator: "AND" } |
|
|
|
{ name: "created_by_id", logic_operator: "IN", value: [JSON.parse(hierarchy)], operator: "AND" } |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const result = await axios |
|
|
|
const result = await axios |
|
|
|
.post(PROYEK_SEARCH, payload, HEADER) |
|
|
|
.post(PROYEK_SEARCH, payload, HEADER) |
|
|
|