Merge branch 'fix-rss-button-not-showing' into atmire-contributions-march-2023

This commit is contained in:
Alexandre Vryghem
2023-03-17 17:30:48 +01:00

View File

@@ -32,7 +32,7 @@ import { RemoteData } from '../../core/data/remote-data';
}) })
export class RSSComponent implements OnInit, OnDestroy { export class RSSComponent implements OnInit, OnDestroy {
route$: BehaviorSubject<string>; route$: BehaviorSubject<string> = new BehaviorSubject<string>('');
isEnabled$: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(null); isEnabled$: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(null);
@@ -99,7 +99,7 @@ export class RSSComponent implements OnInit, OnDestroy {
rel: 'search', rel: 'search',
title: 'Dspace' title: 'Dspace'
}); });
this.route$ = new BehaviorSubject<string>(route); this.route$.next(route);
})); }));
} }