Fix clearInterval of tast-toast
This commit is contained in:
parent
0126016154
commit
7313f66064
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue