|
|
@ -1,11 +1,10 @@ |
|
|
|
import { ChangeDetectorRef, Component, OnInit } from '@angular/core'; |
|
|
|
import { AdminData } from '@ghostfolio/api/app/admin/interfaces/admin-data.interface'; |
|
|
|
import { AdminService } from '@ghostfolio/client/services/admin.service'; |
|
|
|
import { CacheService } from '@ghostfolio/client/services/cache.service'; |
|
|
|
import { DataService } from '@ghostfolio/client/services/data.service'; |
|
|
|
import { TokenStorageService } from '@ghostfolio/client/services/token-storage.service'; |
|
|
|
import { DEFAULT_DATE_FORMAT } from '@ghostfolio/helper/config'; |
|
|
|
import { User } from '@ghostfolio/helper/interfaces'; |
|
|
|
import { AdminData, User } from '@ghostfolio/helper/interfaces'; |
|
|
|
import { formatDistanceToNow, isValid, parseISO, sub } from 'date-fns'; |
|
|
|
import { Subject } from 'rxjs'; |
|
|
|
import { takeUntil } from 'rxjs/operators'; |
|
|
|