Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
refactor(ui): remove api counter from api-card-list
Browse files Browse the repository at this point in the history
We dont want to show the total amount of available APIs on the marketplace, because we cant ensure that this information will be available in the future. Therefore we removed api counter completely.

Closes: PAS-3981
  • Loading branch information
BastianGem committed May 18, 2022
1 parent 99c2973 commit 7d6eafb
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions src/app/components/api-card-list/api-card-list.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
<mat-icon>clear</mat-icon>
</button>
</mat-form-field>
<span id="api-counter" class="accent">{{
'MPLACE.APIS_AVAILABLE' | translate: { totalSize: this.totalSize }
}}</span>
</div>
<ng-container *ngIf="(apis$ | async)!.length > 0 && ready; else NoDataMsg">
<div id="grid">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

.align {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-columns: 1fr;
justify-items: center;
align-items: center;
}
Expand Down Expand Up @@ -53,7 +53,6 @@
}

#search-form-field {
grid-column: 2;
width: 234px;
}

Expand Down
1 change: 0 additions & 1 deletion src/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"SEARCH": "APIs und Tags",
"LEARN_MORE": "Mehr",
"NO_DESC": "Keine API-Beschreibung verfügbar",
"APIS_AVAILABLE": "{{totalSize}} APIs verfügbar",
"ERROR_WHILE_FETCHING_APIS": "Es konnten nicht alle APIs geladen werden."
},
"ACCOUNT": {
Expand Down
1 change: 0 additions & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"SEARCH": "APIs and tags",
"LEARN_MORE": "Learn more",
"NO_DESC": "No API description available",
"APIS_AVAILABLE": "{{totalSize}} API(s) available",
"ERROR_WHILE_FETCHING_APIS": "Not all APIs could be loaded."
},
"ACCOUNT": {
Expand Down

0 comments on commit 7d6eafb

Please sign in to comment.