Skip to content

Commit 5011ec6

Browse files
Merge branch 'fix-rss-button-not-showing' into atmire-contributions-march-2023
2 parents 21431f8 + 56d6082 commit 5011ec6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/shared/rss-feed/rss.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { RemoteData } from '../../core/data/remote-data';
3232
})
3333
export class RSSComponent implements OnInit, OnDestroy {
3434

35-
route$: BehaviorSubject<string>;
35+
route$: BehaviorSubject<string> = new BehaviorSubject<string>('');
3636

3737
isEnabled$: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(null);
3838

@@ -99,7 +99,7 @@ export class RSSComponent implements OnInit, OnDestroy {
9999
rel: 'search',
100100
title: 'Dspace'
101101
});
102-
this.route$ = new BehaviorSubject<string>(route);
102+
this.route$.next(route);
103103
}));
104104
}
105105

0 commit comments

Comments
 (0)