|
@ -1,4 +1,5 @@ |
|
|
import { GfSymbolModule } from '@ghostfolio/client/pipes/symbol/symbol.module'; |
|
|
import { GfSymbolModule } from '@ghostfolio/client/pipes/symbol/symbol.module'; |
|
|
|
|
|
import { internalRoutes } from '@ghostfolio/common/routes/routes'; |
|
|
import { SearchMode } from '@ghostfolio/ui/assistant/enums/search-mode'; |
|
|
import { SearchMode } from '@ghostfolio/ui/assistant/enums/search-mode'; |
|
|
import { |
|
|
import { |
|
|
IAssetSearchResultItem, |
|
|
IAssetSearchResultItem, |
|
@ -54,13 +55,16 @@ export class GfAssistantListItemComponent |
|
|
dataSource: this.item?.dataSource, |
|
|
dataSource: this.item?.dataSource, |
|
|
symbol: this.item?.symbol |
|
|
symbol: this.item?.symbol |
|
|
}; |
|
|
}; |
|
|
this.routerLink = ['/admin', 'market-data']; |
|
|
|
|
|
|
|
|
this.routerLink = |
|
|
|
|
|
internalRoutes.adminControl.subRoutes.marketData.routerLink; |
|
|
} else if (this.item?.mode === SearchMode.HOLDING) { |
|
|
} else if (this.item?.mode === SearchMode.HOLDING) { |
|
|
this.queryParams = { |
|
|
this.queryParams = { |
|
|
dataSource: this.item?.dataSource, |
|
|
dataSource: this.item?.dataSource, |
|
|
holdingDetailDialog: true, |
|
|
holdingDetailDialog: true, |
|
|
symbol: this.item?.symbol |
|
|
symbol: this.item?.symbol |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
this.routerLink = []; |
|
|
this.routerLink = []; |
|
|
} else if (this.item?.mode === SearchMode.QUICK_LINK) { |
|
|
} else if (this.item?.mode === SearchMode.QUICK_LINK) { |
|
|
this.queryParams = {}; |
|
|
this.queryParams = {}; |
|
|