diff --git a/app/components/task-toast.hbs b/app/components/task-toast.hbs index f21b865..71c4812 100644 --- a/app/components/task-toast.hbs +++ b/app/components/task-toast.hbs @@ -1,4 +1,9 @@ - +
{{#if this.icon}}
-
Task {{this.taskType}} Uid:{{this.taskUid}}
+
Task {{this.taskType}} uid:{{this.taskUid}}
Status: {{this.taskStatus}} diff --git a/app/components/task-toast.js b/app/components/task-toast.js index ff3a782..3a2c86b 100644 --- a/app/components/task-toast.js +++ b/app/components/task-toast.js @@ -99,8 +99,11 @@ export default class TaskToastComponent extends Component { this.meilisearch.getTask(this.taskUid).then((task) => { this.task = task; - if (this.isSucceeded) { + if (!this.isEnqueued) { this.clearInterval(); + } + + if (this.isSucceeded) { this.autoClose = true; } });