From 1e780070bc72344a243cca6ad4c4f97f16c2a80e Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sun, 17 May 2026 11:02:32 +0700 Subject: [PATCH] fix(client): remove dead code --- .../admin-market-data.component.ts | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/apps/client/src/app/components/admin-market-data/admin-market-data.component.ts b/apps/client/src/app/components/admin-market-data/admin-market-data.component.ts index abe3dff5a..dcb8dfaab 100644 --- a/apps/client/src/app/components/admin-market-data/admin-market-data.component.ts +++ b/apps/client/src/app/components/admin-market-data/admin-market-data.component.ts @@ -2,7 +2,6 @@ import { UserService } from '@ghostfolio/client/services/user/user.service'; import { DEFAULT_COLOR_SCHEME, DEFAULT_PAGE_SIZE, - ghostfolioScraperApiSymbolPrefix, locale } from '@ghostfolio/common/config'; import { getDateFormatString } from '@ghostfolio/common/helper'; @@ -147,13 +146,10 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit { type: 'PRESET_ID' as Filter['type'] } ]; - public currentDataSource: DataSource; - public currentSymbol: string; protected dataSource = new MatTableDataSource(); protected defaultDateFormat: string; protected displayedColumns: string[] = []; protected filters$ = new Subject(); - public ghostfolioScraperApiSymbolPrefix = ghostfolioScraperApiSymbolPrefix; protected isLoading = true; protected isUUID = isUUID; protected pageSize = DEFAULT_PAGE_SIZE; @@ -332,23 +328,6 @@ export class GfAdminMarketDataComponent implements AfterViewInit, OnInit { .subscribe(); } - protected onGatherProfileDataBySymbol({ - dataSource, - symbol - }: AssetProfileIdentifier) { - this.adminService - .gatherProfileDataBySymbol({ dataSource, symbol }) - .pipe(takeUntilDestroyed(this.destroyRef)) - .subscribe(); - } - - protected onGatherSymbol({ dataSource, symbol }: AssetProfileIdentifier) { - this.adminService - .gatherSymbol({ dataSource, symbol }) - .pipe(takeUntilDestroyed(this.destroyRef)) - .subscribe(); - } - protected onOpenAssetProfileDialog({ dataSource, symbol