|
@ -77,11 +77,15 @@ |
|
|
<td mat-cell *matCellDef="let element" class="px-1"> |
|
|
<td mat-cell *matCellDef="let element" class="px-1"> |
|
|
<div |
|
|
<div |
|
|
class="d-inline-flex p-1 type-badge" |
|
|
class="d-inline-flex p-1 type-badge" |
|
|
[ngClass]="element.type == 'BUY' ? 'buy' : 'sell'" |
|
|
[ngClass]="{ |
|
|
|
|
|
buy: element.type === 'BUY', |
|
|
|
|
|
dividend: element.type === 'DIVIDEND', |
|
|
|
|
|
sell: element.type === 'SELL' |
|
|
|
|
|
}" |
|
|
> |
|
|
> |
|
|
<ion-icon |
|
|
<ion-icon |
|
|
[name]=" |
|
|
[name]=" |
|
|
element.type === 'BUY' |
|
|
element.type === 'BUY' || element.type === 'DIVIDEND' |
|
|
? 'arrow-forward-circle-outline' |
|
|
? 'arrow-forward-circle-outline' |
|
|
: 'arrow-back-circle-outline' |
|
|
: 'arrow-back-circle-outline' |
|
|
" |
|
|
" |
|
|