mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
117287: Fixed broken pagination on resource policy page
This commit is contained in:
@@ -13,9 +13,9 @@
|
|||||||
<p>{{'researcher.profile.not.associated' | translate}}</p>
|
<p>{{'researcher.profile.not.associated' | translate}}</p>
|
||||||
</div>
|
</div>
|
||||||
<button *ngIf="!researcherProfile" class="btn btn-primary mr-2"
|
<button *ngIf="!researcherProfile" class="btn btn-primary mr-2"
|
||||||
[disabled]="(processingDelete$ | async) === true"
|
[disabled]="(processingCreate$ | async) === true"
|
||||||
(click)="createProfile()">
|
(click)="createProfile()">
|
||||||
<span *ngIf="(processingDelete$ | async) === true">
|
<span *ngIf="(processingCreate$ | async) === true">
|
||||||
<i class='fas fa-circle-notch fa-spin'></i> {{'researcher.profile.action.processing' | translate}}
|
<i class='fas fa-circle-notch fa-spin'></i> {{'researcher.profile.action.processing' | translate}}
|
||||||
</span>
|
</span>
|
||||||
<span *ngIf="(processingCreate$ | async) !== true">
|
<span *ngIf="(processingCreate$ | async) !== true">
|
||||||
|
@@ -14,7 +14,7 @@ import { ResourceType } from '../../core/shared/resource-type';
|
|||||||
import { EPersonDataService } from '../../core/eperson/eperson-data.service';
|
import { EPersonDataService } from '../../core/eperson/eperson-data.service';
|
||||||
import { GroupDataService } from '../../core/eperson/group-data.service';
|
import { GroupDataService } from '../../core/eperson/group-data.service';
|
||||||
import { fadeInOut } from '../animations/fade';
|
import { fadeInOut } from '../animations/fade';
|
||||||
import { getFirstCompletedRemoteData, getRemoteDataPayload } from '../../core/shared/operators';
|
import { getAllCompletedRemoteData, getRemoteDataPayload } from '../../core/shared/operators';
|
||||||
import { PaginationService } from '../../core/pagination/pagination.service';
|
import { PaginationService } from '../../core/pagination/pagination.service';
|
||||||
import { FindListOptions } from '../../core/data/find-list-options.model';
|
import { FindListOptions } from '../../core/data/find-list-options.model';
|
||||||
import { getDataServiceFor } from '../../core/data/base/data-service.decorator';
|
import { getDataServiceFor } from '../../core/data/base/data-service.decorator';
|
||||||
@@ -153,7 +153,7 @@ export class EpersonGroupListComponent implements OnInit, OnDestroy {
|
|||||||
(this.dataService as EPersonDataService).searchByScope(scope, query, options) :
|
(this.dataService as EPersonDataService).searchByScope(scope, query, options) :
|
||||||
(this.dataService as GroupDataService).searchGroups(query, options);
|
(this.dataService as GroupDataService).searchGroups(query, options);
|
||||||
}),
|
}),
|
||||||
getFirstCompletedRemoteData(),
|
getAllCompletedRemoteData(),
|
||||||
getRemoteDataPayload(),
|
getRemoteDataPayload(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user