mirror of https://github.com/ghostfolio/ghostfolio
8 changed files with 46 additions and 12 deletions
@ -1,8 +1,16 @@ |
|||
<a |
|||
#link |
|||
class="d-block px-2 py-1 text-truncate" |
|||
class="d-block line-height-1 px-2 py-1 text-truncate" |
|||
[queryParams]="queryParams" |
|||
[routerLink]="routerLink" |
|||
(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 { NgModule } from '@angular/core'; |
|||
import { RouterModule } from '@angular/router'; |
|||
import { GfSymbolModule } from '@ghostfolio/client/pipes/symbol/symbol.module'; |
|||
|
|||
import { AssistantListItemComponent } from './assistant-list-item.component'; |
|||
|
|||
@NgModule({ |
|||
declarations: [AssistantListItemComponent], |
|||
exports: [AssistantListItemComponent], |
|||
imports: [CommonModule, RouterModule] |
|||
imports: [CommonModule, GfSymbolModule, RouterModule] |
|||
}) |
|||
export class GfAssistantListItemModule {} |
|||
|
Loading…
Reference in new issue