mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-07-12 20:35:15 +02: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:
@ -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() {
|
||||
|
Reference in New Issue
Block a user