|
|
@ -1,7 +1,6 @@ |
|
|
|
import { ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core'; |
|
|
|
import { MatDialog } from '@angular/material/dialog'; |
|
|
|
import { ActivatedRoute, Router } from '@angular/router'; |
|
|
|
import { DateRange } from '@ghostfolio/api/app/portfolio/interfaces/date-range.type'; |
|
|
|
import { LineChartItem } from '@ghostfolio/client/components/line-chart/interfaces/line-chart.interface'; |
|
|
|
import { PerformanceChartDialog } from '@ghostfolio/client/components/performance-chart-dialog/performance-chart-dialog.component'; |
|
|
|
import { ToggleOption } from '@ghostfolio/client/components/toggle/interfaces/toggle-option.type'; |
|
|
@ -19,6 +18,7 @@ import { |
|
|
|
PortfolioPosition |
|
|
|
} from '@ghostfolio/helper/interfaces'; |
|
|
|
import { hasPermission, permissions } from '@ghostfolio/helper/permissions'; |
|
|
|
import { DateRange } from '@ghostfolio/helper/types'; |
|
|
|
import { DeviceDetectorService } from 'ngx-device-detector'; |
|
|
|
import { Subject, Subscription } from 'rxjs'; |
|
|
|
import { takeUntil } from 'rxjs/operators'; |
|
|
|