return taskEntry.id on createTask

I would like to have createTask return the taskEntry.id in order to allow for watchers or callbacks to be able to reference tasks by id more easily.
This commit is contained in:
AssassinJN
2023-01-04 10:04:52 -05:00
committed by GitHub
parent 2d9853f1f4
commit 567c02bf5d

@ -906,7 +906,7 @@ function createTask(task) {
if (task.previewPrompt.innerText.trim() === '') {
task.previewPrompt.innerHTML = ' ' // allows the results to be collapsed
}
return taskEntry.id
}
function getCurrentUserRequest() {