diff --git a/app/components/task-toast.js b/app/components/task-toast.js index 3a2c86b..98971d2 100644 --- a/app/components/task-toast.js +++ b/app/components/task-toast.js @@ -99,7 +99,7 @@ export default class TaskToastComponent extends Component { this.meilisearch.getTask(this.taskUid).then((task) => { this.task = task; - if (!this.isEnqueued) { + if (this.isSucceeded || this.isFailed) { this.clearInterval(); }