Browse Source

sorting asc by name_version

pull/2/head
wahyuun 1 year ago
parent
commit
c59b024ae2
  1. 6
      src/views/SimproV2/CreatedProyek/DialogGantt.js

6
src/views/SimproV2/CreatedProyek/DialogGantt.js

@ -74,14 +74,16 @@ const DialogGantt = ({ openDialog, closeDialog, toggleDialog, idTask, proyekName
"select": ["id", "name_version", "calculation_type", "description", "created_at", "progress"],
"columns": [
{ "name": "hierarchy_ftth_id", "logic_operator": "=", "value": hierarchyId, "operator": "AND" }
]
],
"orders": { "columns": ["name_version"], "ascending": true }
}
} else {
payload = {
"select": ["id", "name_version", "calculation_type", "description", "created_at", "progress"],
"columns": [
{ "name": "proyek_id", "logic_operator": "=", "value": idTask, "operator": "AND" }
]
],
"orders": { "columns": ["name_version"], "ascending": true },
}
}
const result = await axios

Loading…
Cancel
Save