mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix: flash bug on tag (#12332)
* fix flash bug on tag * fix lint --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
27e283e724
commit
d7d3b8dfec
7 changed files with 79 additions and 54 deletions
|
|
@ -315,7 +315,7 @@ class IntersectionTask {
|
|||
return { task: execTask, cleanup };
|
||||
}
|
||||
|
||||
trackSeperatedTask(componentId: string, task: Task) {
|
||||
trackSeparatedTask(componentId: string, task: Task) {
|
||||
const execTask = () => {
|
||||
if (this.intersected) {
|
||||
return;
|
||||
|
|
@ -363,7 +363,7 @@ class IntersectionTask {
|
|||
return;
|
||||
}
|
||||
|
||||
const { task, cleanup } = this.trackSeperatedTask(componentId, separated);
|
||||
const { task, cleanup } = this.trackSeparatedTask(componentId, separated);
|
||||
this.internalTaskManager.queueSeparateTask({
|
||||
task,
|
||||
cleanup,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue