Skip to content

Commit f3133d7

Browse files
committed
update dependency
1 parent d910588 commit f3133d7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/app/features/spaces/translations/translations.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ export class TranslationsComponent implements OnInit {
185185
this.selectedTargetLocale = space.localeFallback.id;
186186
}
187187
}),
188+
takeUntilDestroyed(this.destroyRef),
188189
);
189190
this.translations$ = this.translationService.findAll(this.spaceId()).pipe(
190191
tap(translations => {
@@ -203,8 +204,9 @@ export class TranslationsComponent implements OnInit {
203204
}
204205
this.isLoading.set(false);
205206
}),
207+
takeUntilDestroyed(this.destroyRef),
206208
);
207-
this.history$ = this.translateHistoryService.findAll(this.spaceId());
209+
this.history$ = this.translateHistoryService.findAll(this.spaceId()).pipe(takeUntilDestroyed(this.destroyRef));
208210
}
209211

210212
publish(): void {

0 commit comments

Comments
 (0)