Browse Source

Add missing status of GHOSTFOLIO data provider in case of invalid API key

pull/7476/head
Thomas Kaul 1 month ago
parent
commit
1b6bf26e06
  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