Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/components/TaskListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ export default {
return n('assistant', 'Generation of {n} image is scheduled', 'Generation of {n} images is scheduled', nbImageAsked, { n: nbImageAsked })
}
return t('assistant', 'This task is scheduled')
} else if (this.task.status === TASK_STATUS_STRING.failed) {
return this.task.error_message
? statusTitles[this.task.status] + ': ' + this.task.error_message
: statusTitles[this.task.status]
}
return statusTitles[this.task.status] ?? t('assistant', 'Unknown status')
},
Expand Down
Loading