From 7313f660645fa87c4d1d1cde7ccdcca35eb5ee98 Mon Sep 17 00:00:00 2001 From: Stanislav Romanov Date: Thu, 15 Sep 2022 17:08:19 +0300 Subject: [PATCH] Fix clearInterval of tast-toast --- app/components/task-toast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }