mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 00:03:20 +01:00
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:
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user