mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-10421]: upstream fix (#4888)
This commit is contained in:
+4
-7
@@ -51,13 +51,10 @@ export class SaveSearchSidenavComponent implements OnInit {
|
||||
|
||||
ngOnInit() {
|
||||
this.savedSearchesService.init();
|
||||
this.savedSearchesService.savedSearches$
|
||||
.asObservable()
|
||||
.pipe(takeUntilDestroyed(this.destroyRef))
|
||||
.subscribe((savedSearches) => {
|
||||
this.item = this.createNavBarLinkRef(savedSearches);
|
||||
this.savedSearchCount = savedSearches.length;
|
||||
});
|
||||
this.savedSearchesService.savedSearches$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((savedSearches) => {
|
||||
this.item = this.createNavBarLinkRef(savedSearches);
|
||||
this.savedSearchCount = savedSearches.length;
|
||||
});
|
||||
this.userPreferenceService
|
||||
.select(UserPreferenceValues.Locale)
|
||||
.pipe(takeUntilDestroyed(this.destroyRef), delay(10))
|
||||
|
||||
Reference in New Issue
Block a user