diff --git a/src/app/item-page/edit-item-page/item-authorizations/item-authorizations.component.ts b/src/app/item-page/edit-item-page/item-authorizations/item-authorizations.component.ts
index f3313d4cef..a833b90b20 100644
--- a/src/app/item-page/edit-item-page/item-authorizations/item-authorizations.component.ts
+++ b/src/app/item-page/edit-item-page/item-authorizations/item-authorizations.component.ts
@@ -45,13 +45,7 @@ export class ItemAuthorizationsComponent implements OnInit, OnDestroy {
* The list of all bundles for the item
* @type {Observable>}
*/
- private bundles$: BehaviorSubject = new BehaviorSubject([]);
-
- /**
- * The list of bundles to be displayed in the template
- * @type {BehaviorSubject}
- */
- bundlesToShow$: BehaviorSubject = new BehaviorSubject([]);
+ bundles$: BehaviorSubject = new BehaviorSubject([]);
/**
* The target editing item
@@ -69,13 +63,13 @@ export class ItemAuthorizationsComponent implements OnInit, OnDestroy {
* The size of the bundles to be loaded on demand
* @type {number}
*/
- bunblesPerPage = 6;
+ bunblesPerPage = 1;
/**
* The number of current page
* @type {number}
*/
- bunblesPageSize = 1;
+ bunblesPageSize = 6;
/**
* The flag to show or not the 'Load more' button
@@ -179,9 +173,7 @@ export class ItemAuthorizationsComponent implements OnInit, OnDestroy {
}
if (isEqual(page, 1)) {
this.bundles$.next(bundles);
- this.bundlesToShow$.next(bundles);
} else {
- this.bundlesToShow$.next(this.bundles$.getValue().concat(bundles));
this.bundles$.next(this.bundles$.getValue().concat(bundles));
}
}),
diff --git a/src/app/shared/resource-policies/resource-policies.component.html b/src/app/shared/resource-policies/resource-policies.component.html
index 5d11ac81f2..d1fd9266b1 100644
--- a/src/app/shared/resource-policies/resource-policies.component.html
+++ b/src/app/shared/resource-policies/resource-policies.component.html
@@ -6,7 +6,6 @@