Browse Source

Refactoring

pull/7251/head
Thomas Kaul 4 weeks ago
parent
commit
ceb09d3e95
  1. 1
      apps/api/src/app/endpoints/asset-profiles/asset-profiles.service.ts
  2. 5
      apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts
  3. 2
      apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html

1
apps/api/src/app/endpoints/asset-profiles/asset-profiles.service.ts

@ -133,6 +133,7 @@ export class AssetProfilesService {
}) })
}; };
} }
public async getAssetProfiles({ public async getAssetProfiles({
filters = [], filters = [],
presetId, presetId,

5
apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.component.ts

@ -273,11 +273,6 @@ export class GfAssetProfileDialogComponent implements OnInit {
protected isBenchmark = false; protected isBenchmark = false;
protected isDataGatheringEnabled: boolean; protected isDataGatheringEnabled: boolean;
protected isEditAssetProfileIdentifierMode = false; protected isEditAssetProfileIdentifierMode = false;
// Splits are not applied to the portfolio calculation yet, hence the tab to
// manage them is hidden
protected readonly isSplitsTabEnabled = false;
protected readonly isUUID = isUUID; protected readonly isUUID = isUUID;
protected marketDataItems: MarketData[] = []; protected marketDataItems: MarketData[] = [];

2
apps/client/src/app/components/admin-market-data/asset-profile-dialog/asset-profile-dialog.html

@ -503,7 +503,7 @@
</div> </div>
</div> </div>
</mat-tab> </mat-tab>
@if (isSplitsTabEnabled) { @if (false && user?.settings?.isExperimentalFeatures) {
<mat-tab> <mat-tab>
<ng-template mat-tab-label> <ng-template mat-tab-label>
<ion-icon name="git-compare-outline" /> <ion-icon name="git-compare-outline" />

Loading…
Cancel
Save