Fix wrong taskNames
This commit is contained in:
parent
c3342984ea
commit
a16686dfbf
@ -84,7 +84,7 @@ async function GetRunningTasks(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function GetDownloadTasks(){
|
async function GetDownloadTasks(){
|
||||||
var uri = apiUri + "/Tasks?taskType=DownloadNewChapters";
|
var uri = apiUri + "/Tasks?taskType=MonitorPublication";
|
||||||
let json = await GetData(uri);
|
let json = await GetData(uri);
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
@ -201,7 +201,7 @@ function DeleteTaskClick(){
|
|||||||
|
|
||||||
function StartTaskClick(){
|
function StartTaskClick(){
|
||||||
var toEditTask = tasks.filter(task => task.publication.internalId == toEditId)[0];
|
var toEditTask = tasks.filter(task => task.publication.internalId == toEditId)[0];
|
||||||
StartTask("DownloadNewChapters", toEditTask.connectorName, toEditId);
|
StartTask("MonitorPublication", toEditTask.connectorName, toEditId);
|
||||||
HidePublicationPopup();
|
HidePublicationPopup();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user