Skip to content

Commit e03b633

Browse files
committed
Fix continuous label retrieval issue (closes #206)
1 parent 4eee7c6 commit e03b633

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/services/cache/labels-cache.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class LabelsCacheService {
2727
const idsWithoutLabel: string[] = Array.from(
2828
this._idsToCacheLabelFor,
2929
).filter((id) => {
30-
const labelAlreadyDefined = Object.keys(this.labels).includes(id);
30+
const labelAlreadyDefined = Object.keys(this.labels.value).includes(id);
3131
const alreadyRetrievingLabel = this._labelsBeingCachedForIds.has(id);
3232
return !labelAlreadyDefined && !alreadyRetrievingLabel;
3333
});

0 commit comments

Comments
 (0)