Skip to content

Commit e9061a4

Browse files
117287: Fixed broken pagination on resource policy page
1 parent dc8b105 commit e9061a4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/profile-page/profile-page-researcher-form/profile-page-researcher-form.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<p>{{'researcher.profile.not.associated' | translate}}</p>
1414
</div>
1515
<button *ngIf="!researcherProfile" class="btn btn-primary mr-2"
16-
[disabled]="(processingDelete$ | async) === true"
16+
[disabled]="(processingCreate$ | async) === true"
1717
(click)="createProfile()">
18-
<span *ngIf="(processingDelete$ | async) === true">
18+
<span *ngIf="(processingCreate$ | async) === true">
1919
<i class='fas fa-circle-notch fa-spin'></i> {{'researcher.profile.action.processing' | translate}}
2020
</span>
2121
<span *ngIf="(processingCreate$ | async) !== true">

src/app/shared/eperson-group-list/eperson-group-list.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ResourceType } from '../../core/shared/resource-type';
1414
import { EPersonDataService } from '../../core/eperson/eperson-data.service';
1515
import { GroupDataService } from '../../core/eperson/group-data.service';
1616
import { fadeInOut } from '../animations/fade';
17-
import { getFirstCompletedRemoteData, getRemoteDataPayload } from '../../core/shared/operators';
17+
import { getAllCompletedRemoteData, getRemoteDataPayload } from '../../core/shared/operators';
1818
import { PaginationService } from '../../core/pagination/pagination.service';
1919
import { FindListOptions } from '../../core/data/find-list-options.model';
2020
import { getDataServiceFor } from '../../core/data/base/data-service.decorator';
@@ -153,7 +153,7 @@ export class EpersonGroupListComponent implements OnInit, OnDestroy {
153153
(this.dataService as EPersonDataService).searchByScope(scope, query, options) :
154154
(this.dataService as GroupDataService).searchGroups(query, options);
155155
}),
156-
getFirstCompletedRemoteData(),
156+
getAllCompletedRemoteData(),
157157
getRemoteDataPayload(),
158158
);
159159
}

0 commit comments

Comments
 (0)