mirror of https://github.com/ghostfolio/ghostfolio
8 changed files with 46 additions and 12 deletions
@ -1,8 +1,16 @@ |
|||||
<a |
<a |
||||
#link |
#link |
||||
class="d-block px-2 py-1 text-truncate" |
class="d-block line-height-1 px-2 py-1 text-truncate" |
||||
[queryParams]="queryParams" |
[queryParams]="queryParams" |
||||
[routerLink]="routerLink" |
[routerLink]="routerLink" |
||||
(click)="onClick()" |
(click)="onClick()" |
||||
>{{ item?.name }}</a |
><span><b>{{ item?.name }}</b></span> |
||||
|
<br /> |
||||
|
<small class="text-muted" |
||||
|
>{{ item?.symbol | gfSymbol }} · {{ item?.currency }}<ng-container |
||||
|
*ngIf="item?.assetSubClassString" |
||||
|
> |
||||
|
· {{ item?.assetSubClassString }}</ng-container |
||||
|
></small |
||||
|
></a |
||||
> |
> |
||||
|
@ -1,12 +1,13 @@ |
|||||
import { CommonModule } from '@angular/common'; |
import { CommonModule } from '@angular/common'; |
||||
import { NgModule } from '@angular/core'; |
import { NgModule } from '@angular/core'; |
||||
import { RouterModule } from '@angular/router'; |
import { RouterModule } from '@angular/router'; |
||||
|
import { GfSymbolModule } from '@ghostfolio/client/pipes/symbol/symbol.module'; |
||||
|
|
||||
import { AssistantListItemComponent } from './assistant-list-item.component'; |
import { AssistantListItemComponent } from './assistant-list-item.component'; |
||||
|
|
||||
@NgModule({ |
@NgModule({ |
||||
declarations: [AssistantListItemComponent], |
declarations: [AssistantListItemComponent], |
||||
exports: [AssistantListItemComponent], |
exports: [AssistantListItemComponent], |
||||
imports: [CommonModule, RouterModule] |
imports: [CommonModule, GfSymbolModule, RouterModule] |
||||
}) |
}) |
||||
export class GfAssistantListItemModule {} |
export class GfAssistantListItemModule {} |
||||
|
Loading…
Reference in new issue