Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/kamu-data/kamu-web-ui int…
Browse files Browse the repository at this point in the history
…o KAMU-UI-131-Refactor-redundant-selectors-and-cast-class-names-to-lowercase
  • Loading branch information
Dmitriy Borzenko committed Aug 29, 2023
2 parents d0775af + a1d5f6d commit 5a3c683
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- GraphQL code generator tuned to produce string type by default for scalars
- Fixed bug with disabled state for "Run" button after error.
- Refactor redundant selectors and cast class names to lowercase
- Fixed bug with updating the list of datasets after deletion

## [0.8.0] - 2023-08-04
### Added
Expand Down
16 changes: 11 additions & 5 deletions src/app/api/search.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,17 @@ export class SearchApi {
perPage = SEARCH_RESULTS_PER_PAGE,
): Observable<SearchDatasetsOverviewQuery> {
return this.searchDatasetsOverviewGQL
.watch({
query: searchQuery,
perPage,
page,
})
.watch(
{
query: searchQuery,
perPage,
page,
},
{
fetchPolicy: "network-only",
errorPolicy: "all",
},
)
.valueChanges.pipe(
first(),
map((result: ApolloQueryResult<SearchDatasetsOverviewQuery>) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
[collectionSize]="(pageInfo.totalPages || currentPage) * 10"
[maxSize]="7"
[(page)]="currentPage"
[directionLinks]="false"
[rotate]="true"
[ellipses]="true"
(pageChange)="onPageChange(currentPage)"
aria-label="Custom pagination"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ p
height: 32px
border: 1px solid rgba(27,31,36,0.25 )
border-radius: 6px
white-space: nowrap
&:hover
background: rgba(27,31,36,0.16 )

Expand Down

0 comments on commit 5a3c683

Please sign in to comment.