Browse Source
Task/remove unused user in historical market data editor (#8243)
Remove unused user
pull/8158/merge
Thomas Kaul
4 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
2 additions and
8 deletions
-
apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html
-
apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html
-
libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor-dialog/interfaces/interfaces.ts
-
libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor.component.ts
|
|
|
@ -505,7 +505,6 @@ |
|
|
|
[locale]="data.locale" |
|
|
|
[marketData]="marketDataItems" |
|
|
|
[symbol]="data.symbol" |
|
|
|
[user]="user" |
|
|
|
(marketDataChanged)="onMarketDataChanged($event)" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
|
|
|
|
@ -437,7 +437,6 @@ |
|
|
|
[locale]="data.locale" |
|
|
|
[marketData]="marketDataItems" |
|
|
|
[symbol]="assetProfile?.symbol" |
|
|
|
[user]="user" |
|
|
|
(marketDataChanged)="onMarketDataChanged($event)" |
|
|
|
/> |
|
|
|
</mat-tab> |
|
|
|
|
|
|
|
@ -1,4 +1,3 @@ |
|
|
|
import { User } from '@ghostfolio/common/interfaces'; |
|
|
|
import { DataSource } from '@ghostfolio/prisma/enums'; |
|
|
|
|
|
|
|
export interface HistoricalMarketDataEditorDialogParams { |
|
|
|
@ -7,5 +6,4 @@ export interface HistoricalMarketDataEditorDialogParams { |
|
|
|
dateString: string; |
|
|
|
marketPrice?: number; |
|
|
|
symbol: string; |
|
|
|
user: User; |
|
|
|
} |
|
|
|
|
|
|
|
@ -4,7 +4,7 @@ import { |
|
|
|
getDateFormatString, |
|
|
|
getLocale |
|
|
|
} 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 { DataSource } from '@ghostfolio/prisma/enums'; |
|
|
|
import { DataService } from '@ghostfolio/ui/services'; |
|
|
|
@ -70,7 +70,6 @@ export class GfHistoricalMarketDataEditorComponent |
|
|
|
@Input() dataSource: DataSource; |
|
|
|
@Input() dateOfFirstActivity?: Date; |
|
|
|
@Input() symbol: string; |
|
|
|
@Input() user: User; |
|
|
|
|
|
|
|
@Output() marketDataChanged = new EventEmitter<boolean>(); |
|
|
|
|
|
|
|
@ -233,8 +232,7 @@ export class GfHistoricalMarketDataEditorComponent |
|
|
|
currency: this.currency, |
|
|
|
dataSource: this.dataSource, |
|
|
|
dateString: `${yearMonth}-${day}`, |
|
|
|
symbol: this.symbol, |
|
|
|
user: this.user |
|
|
|
symbol: this.symbol |
|
|
|
}, |
|
|
|
height: this.deviceType() === 'mobile' ? '98vh' : '80vh', |
|
|
|
width: this.deviceType() === 'mobile' ? '100vw' : '50rem' |
|
|
|
|