Task/deprecate platforms in info item (#6114)

* Deprecate platforms
pull/6109/head
Thomas Kaul 4 months ago committed by GitHub
parent eb9d66e760
commit 40c01c38dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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;

Loading…
Cancel
Save