We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d910588 commit f3133d7Copy full SHA for f3133d7
1 file changed
src/app/features/spaces/translations/translations.component.ts
@@ -185,6 +185,7 @@ export class TranslationsComponent implements OnInit {
185
this.selectedTargetLocale = space.localeFallback.id;
186
}
187
}),
188
+ takeUntilDestroyed(this.destroyRef),
189
);
190
this.translations$ = this.translationService.findAll(this.spaceId()).pipe(
191
tap(translations => {
@@ -203,8 +204,9 @@ export class TranslationsComponent implements OnInit {
203
204
205
this.isLoading.set(false);
206
207
208
- this.history$ = this.translateHistoryService.findAll(this.spaceId());
209
+ this.history$ = this.translateHistoryService.findAll(this.spaceId()).pipe(takeUntilDestroyed(this.destroyRef));
210
211
212
publish(): void {
0 commit comments