|
|
@ -4,7 +4,7 @@ import { |
|
|
getDateFormatString, |
|
|
getDateFormatString, |
|
|
getLocale |
|
|
getLocale |
|
|
} from '@ghostfolio/common/helper'; |
|
|
} from '@ghostfolio/common/helper'; |
|
|
import { LineChartItem, User } from '@ghostfolio/common/interfaces'; |
|
|
import { LineChartItem } from '@ghostfolio/common/interfaces'; |
|
|
import type { MarketData } from '@ghostfolio/prisma/browser'; |
|
|
import type { MarketData } from '@ghostfolio/prisma/browser'; |
|
|
import { DataSource } from '@ghostfolio/prisma/enums'; |
|
|
import { DataSource } from '@ghostfolio/prisma/enums'; |
|
|
import { DataService } from '@ghostfolio/ui/services'; |
|
|
import { DataService } from '@ghostfolio/ui/services'; |
|
|
@ -70,7 +70,6 @@ export class GfHistoricalMarketDataEditorComponent |
|
|
@Input() dataSource: DataSource; |
|
|
@Input() dataSource: DataSource; |
|
|
@Input() dateOfFirstActivity?: Date; |
|
|
@Input() dateOfFirstActivity?: Date; |
|
|
@Input() symbol: string; |
|
|
@Input() symbol: string; |
|
|
@Input() user: User; |
|
|
|
|
|
|
|
|
|
|
|
@Output() marketDataChanged = new EventEmitter<boolean>(); |
|
|
@Output() marketDataChanged = new EventEmitter<boolean>(); |
|
|
|
|
|
|
|
|
@ -233,8 +232,7 @@ export class GfHistoricalMarketDataEditorComponent |
|
|
currency: this.currency, |
|
|
currency: this.currency, |
|
|
dataSource: this.dataSource, |
|
|
dataSource: this.dataSource, |
|
|
dateString: `${yearMonth}-${day}`, |
|
|
dateString: `${yearMonth}-${day}`, |
|
|
symbol: this.symbol, |
|
|
symbol: this.symbol |
|
|
user: this.user |
|
|
|
|
|
}, |
|
|
}, |
|
|
height: this.deviceType() === 'mobile' ? '98vh' : '80vh', |
|
|
height: this.deviceType() === 'mobile' ? '98vh' : '80vh', |
|
|
width: this.deviceType() === 'mobile' ? '100vw' : '50rem' |
|
|
width: this.deviceType() === 'mobile' ? '100vw' : '50rem' |
|
|
|