|
|
@ -162,7 +162,7 @@ |
|
|
|
|
|
|
|
|
<td *matCellDef="let element" class="px-1 text-right" mat-cell> |
|
|
<td *matCellDef="let element" class="px-1 text-right" mat-cell> |
|
|
@if (isGhostfolioDataProvider(element)) { |
|
|
@if (isGhostfolioDataProvider(element)) { |
|
|
@if (isGhostfolioApiKeyValid === true) { |
|
|
@if (hasGhostfolioApiKey) { |
|
|
<button |
|
|
<button |
|
|
class="mx-1 no-min-width px-2" |
|
|
class="mx-1 no-min-width px-2" |
|
|
mat-button |
|
|
mat-button |
|
|
@ -171,7 +171,11 @@ |
|
|
> |
|
|
> |
|
|
<ion-icon name="ellipsis-horizontal" /> |
|
|
<ion-icon name="ellipsis-horizontal" /> |
|
|
</button> |
|
|
</button> |
|
|
<mat-menu #ghostfolioApiMenu="matMenu" xPosition="before"> |
|
|
<mat-menu |
|
|
|
|
|
#ghostfolioApiMenu="matMenu" |
|
|
|
|
|
class="no-max-width" |
|
|
|
|
|
xPosition="before" |
|
|
|
|
|
> |
|
|
<button mat-menu-item (click)="onRemoveGhostfolioApiKey()"> |
|
|
<button mat-menu-item (click)="onRemoveGhostfolioApiKey()"> |
|
|
<span class="align-items-center d-flex"> |
|
|
<span class="align-items-center d-flex"> |
|
|
<ion-icon class="mr-2" name="trash-outline" /> |
|
|
<ion-icon class="mr-2" name="trash-outline" /> |
|
|
@ -179,7 +183,7 @@ |
|
|
</span> |
|
|
</span> |
|
|
</button> |
|
|
</button> |
|
|
</mat-menu> |
|
|
</mat-menu> |
|
|
} @else if (isGhostfolioApiKeyValid === false) { |
|
|
} @else if (hasGhostfolioApiKey === false) { |
|
|
<button |
|
|
<button |
|
|
class="special" |
|
|
class="special" |
|
|
mat-flat-button |
|
|
mat-flat-button |
|
|
|