diff --git a/CHANGELOG.md b/CHANGELOG.md index 190c4596c..3f881ac8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/app/api/search.api.ts b/src/app/api/search.api.ts index 6fb984a7c..25a9fb0ab 100644 --- a/src/app/api/search.api.ts +++ b/src/app/api/search.api.ts @@ -31,11 +31,17 @@ export class SearchApi { perPage = SEARCH_RESULTS_PER_PAGE, ): Observable { return this.searchDatasetsOverviewGQL - .watch({ - query: searchQuery, - perPage, - page, - }) + .watch( + { + query: searchQuery, + perPage, + page, + }, + { + fetchPolicy: "network-only", + errorPolicy: "all", + }, + ) .valueChanges.pipe( first(), map((result: ApolloQueryResult) => { diff --git a/src/app/components/pagination-component/pagination.component.html b/src/app/components/pagination-component/pagination.component.html index bbe842dd3..74d80221c 100644 --- a/src/app/components/pagination-component/pagination.component.html +++ b/src/app/components/pagination-component/pagination.component.html @@ -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" > diff --git a/src/app/dataset-view/additional-components/settings-component/settings.component.sass b/src/app/dataset-view/additional-components/settings-component/settings.component.sass index 8f4486520..966107f7e 100644 --- a/src/app/dataset-view/additional-components/settings-component/settings.component.sass +++ b/src/app/dataset-view/additional-components/settings-component/settings.component.sass @@ -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 )