mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
remove all instances of first as it can cause an error if it's never triggered
This commit is contained in:
@@ -64,7 +64,7 @@ export class AppComponent implements OnInit, AfterViewInit {
|
||||
|
||||
// Whether is not authenticathed try to retrieve a possible stored auth token
|
||||
this.store.pipe(select(isAuthenticated),
|
||||
first(),
|
||||
take(1),
|
||||
filter((authenticated) => !authenticated)
|
||||
).subscribe((authenticated) => this.authService.checkAuthenticationToken());
|
||||
|
||||
|
Reference in New Issue
Block a user