job creation working
This commit is contained in:
parent
bd9e00c6f1
commit
d3818d1985
22 changed files with 591 additions and 179 deletions
|
|
@ -394,7 +394,11 @@ class Api {
|
|||
static async getTaskStatusOptions() {
|
||||
console.log("DEBUG: API - Loading Task Status options form the backend.");
|
||||
const result = await this.request(FRAPPE_GET_TASKS_STATUS_OPTIONS, {});
|
||||
return result
|
||||
return result;
|
||||
}
|
||||
|
||||
static async setTaskStatus(taskName, newStatus) {
|
||||
return await this.request(FRAPPE_SET_TASK_STATUS_METHOD, { taskName, newStatus });
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue