Browse Source
Task/deprecate platforms in info item (#6114)
* Deprecate platforms
pull/6109/head
Thomas Kaul
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
4 additions and
3 deletions
-
apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.component.ts
-
libs/common/src/lib/interfaces/info-item.interface.ts
|
|
|
@ -96,7 +96,6 @@ export class GfCreateOrUpdateActivityDialogComponent implements OnDestroy { |
|
|
|
public isLoading = false; |
|
|
|
public isToday = isToday; |
|
|
|
public mode: 'create' | 'update'; |
|
|
|
public platforms: { id: string; name: string }[]; |
|
|
|
public tagsAvailable: Tag[] = []; |
|
|
|
public total = 0; |
|
|
|
public typesTranslationMap = new Map<Type, string>(); |
|
|
|
@ -127,11 +126,10 @@ export class GfCreateOrUpdateActivityDialogComponent implements OnDestroy { |
|
|
|
|
|
|
|
this.dateAdapter.setLocale(this.locale); |
|
|
|
|
|
|
|
const { currencies, platforms } = this.dataService.fetchInfo(); |
|
|
|
const { currencies } = this.dataService.fetchInfo(); |
|
|
|
|
|
|
|
this.currencies = currencies; |
|
|
|
this.defaultDateFormat = getDateFormatString(this.locale); |
|
|
|
this.platforms = platforms; |
|
|
|
|
|
|
|
this.dataService |
|
|
|
.fetchPortfolioHoldings() |
|
|
|
|
|
|
|
@ -13,7 +13,10 @@ export interface InfoItem { |
|
|
|
globalPermissions: string[]; |
|
|
|
isDataGatheringEnabled?: string; |
|
|
|
isReadOnlyMode?: boolean; |
|
|
|
|
|
|
|
/** @deprecated */ |
|
|
|
platforms: Platform[]; |
|
|
|
|
|
|
|
statistics: Statistics; |
|
|
|
stripePublicKey?: string; |
|
|
|
subscriptionOffer?: SubscriptionOffer; |
|
|
|
|