mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
* Refactor symbol icon module to asset profile icon component (standalone)pull/3252/head
Thomas Kaul
10 months ago
committed by
GitHub
25 changed files with 54 additions and 56 deletions
@ -0,0 +1,8 @@ |
|||||
|
@if (src) { |
||||
|
<img |
||||
|
onerror="this.style.display='none'" |
||||
|
[ngClass]="{ large: size === 'large' }" |
||||
|
[src]="src" |
||||
|
[title]="tooltip ? tooltip : ''" |
||||
|
/> |
||||
|
} |
@ -1,7 +0,0 @@ |
|||||
<img |
|
||||
*ngIf="src" |
|
||||
onerror="this.style.display='none'" |
|
||||
[ngClass]="{ large: size === 'large' }" |
|
||||
[src]="src" |
|
||||
[title]="tooltip ? tooltip : ''" |
|
||||
/> |
|
@ -1,12 +0,0 @@ |
|||||
import { CommonModule } from '@angular/common'; |
|
||||
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; |
|
||||
|
|
||||
import { SymbolIconComponent } from './symbol-icon.component'; |
|
||||
|
|
||||
@NgModule({ |
|
||||
declarations: [SymbolIconComponent], |
|
||||
exports: [SymbolIconComponent], |
|
||||
imports: [CommonModule], |
|
||||
schemas: [CUSTOM_ELEMENTS_SCHEMA] |
|
||||
}) |
|
||||
export class GfSymbolIconModule {} |
|
Loading…
Reference in new issue