|
@ -6,12 +6,11 @@ import { |
|
|
} from '@angular/core'; |
|
|
} from '@angular/core'; |
|
|
import { MatDialog } from '@angular/material/dialog'; |
|
|
import { MatDialog } from '@angular/material/dialog'; |
|
|
import { Router } from '@angular/router'; |
|
|
import { Router } from '@angular/router'; |
|
|
import { User } from '@ghostfolio/api/app/user/interfaces/user.interface'; |
|
|
|
|
|
import { LoginWithAccessTokenDialog } from '@ghostfolio/client/pages/login/login-with-access-token-dialog/login-with-access-token-dialog.component'; |
|
|
import { LoginWithAccessTokenDialog } from '@ghostfolio/client/pages/login/login-with-access-token-dialog/login-with-access-token-dialog.component'; |
|
|
import { DataService } from '@ghostfolio/client/services/data.service'; |
|
|
import { DataService } from '@ghostfolio/client/services/data.service'; |
|
|
import { ImpersonationStorageService } from '@ghostfolio/client/services/impersonation-storage.service'; |
|
|
import { ImpersonationStorageService } from '@ghostfolio/client/services/impersonation-storage.service'; |
|
|
import { TokenStorageService } from '@ghostfolio/client/services/token-storage.service'; |
|
|
import { TokenStorageService } from '@ghostfolio/client/services/token-storage.service'; |
|
|
import { InfoItem } from '@ghostfolio/helper/interfaces'; |
|
|
import { InfoItem, User } from '@ghostfolio/helper/interfaces'; |
|
|
import { hasPermission, permissions } from '@ghostfolio/helper/permissions'; |
|
|
import { hasPermission, permissions } from '@ghostfolio/helper/permissions'; |
|
|
import { EMPTY, Subject } from 'rxjs'; |
|
|
import { EMPTY, Subject } from 'rxjs'; |
|
|
import { catchError, takeUntil } from 'rxjs/operators'; |
|
|
import { catchError, takeUntil } from 'rxjs/operators'; |
|
|