Browse Source

Task/add missing status of GHOSTFOLIO data provider in case of invalid API key (#7476)

Add missing status of GHOSTFOLIO data provider in case of invalid API key
pull/7477/head
Thomas Kaul 1 week ago
committed by GitHub
parent
commit
3d06f2906b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 9
      apps/client/src/app/components/admin-settings/admin-settings.component.html

9
apps/client/src/app/components/admin-settings/admin-settings.component.html

@ -105,8 +105,13 @@
</th>
<td *matCellDef="let element" class="px-1" mat-cell>
@if (
!isGhostfolioDataProvider(element) ||
isGhostfolioApiKeyValid === true
hasGhostfolioApiKey &&
isGhostfolioApiKeyValid === false &&
isGhostfolioDataProvider(element)
) {
<span class="text-danger" i18n>Invalid API key</span>
} @else if (
hasGhostfolioApiKey || !isGhostfolioDataProvider(element)
) {
<gf-data-provider-status [dataSource]="element.dataSource" />
}

Loading…
Cancel
Save