refactor: clean code
This commit is contained in:
@ -35,10 +35,11 @@ export class TabStorageComponent {
|
||||
}
|
||||
}
|
||||
|
||||
if (tryCount >= 10)
|
||||
if (tryCount < 10)
|
||||
this.trySelectChip(index, chip, ++tryCount);
|
||||
else
|
||||
return;
|
||||
|
||||
this.trySelectChip(index, chip, ++tryCount);
|
||||
}, 100);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user