Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export class AddUserDialogComponent implements OnInit, OnDestroy {
});

// Fetch roles for the dropdown
this.store.dispatch(otpActions.getRoles({ authToken: this.authToken, itemsPerPage: 1000 }));
this.store.dispatch(otpActions.getRoles({ authToken: this.authToken, itemsPerPage: 100 }));

this.store
.pipe(select(rolesData), distinctUntilChanged(isEqual), takeUntil(this._destroy$))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -777,14 +777,14 @@ export class UserManagementComponent implements OnInit, AfterViewInit, OnDestroy
);
}
public getRoles(): void {
this.store.dispatch(otpActions.getRoles({ authToken: this.userToken(), itemsPerPage: 1000 }));
this.store.dispatch(otpActions.getRoles({ authToken: this.userToken(), itemsPerPage: 100 }));
}

public onRolesPageChange(event: PageEvent): void {
this.store.dispatch(otpActions.getRoles({ authToken: this.userToken(), itemsPerPage: event.pageSize }));
}
public getPermissions(): void {
const pageSize = 1000;
const pageSize = 100;
this.store.dispatch(otpActions.getPermissions({ authToken: this.userToken(), itemsPerPage: pageSize }));
}

Expand Down
2 changes: 1 addition & 1 deletion apps/36-blocks/src/app/panel/layout/layout.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class LayoutComponent extends BaseComponent implements OnInit, OnDestroy
public toggleMenuSideBar: boolean;
public showContainer = false;
public clientsParams = {
itemsPerPage: 200,
itemsPerPage: 100,
pageNo: 1,
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class ManagementComponent implements OnInit, OnDestroy, OnChanges {
id: new FormControl<number>(null),
});
public params: any = {
itemsPerPage: 1000,
itemsPerPage: 100,
pageNo: 1,
};
/** Current block `reference_id` when embedded (e.g. feature edit). Not the feature type id. */
Expand All @@ -115,7 +115,7 @@ export class ManagementComponent implements OnInit, OnDestroy, OnChanges {
public permissionsPageIndex: number = 0;
public rolesTotalCount: number = 0;
public permissionsTotalCount: number = 0;
public pageSizeOptions: number[] = [25, 50, 100, 1000];
public pageSizeOptions: number[] = [25, 50, 100];
public features: IFeature[] = [];
public featureDetails: any;
public rolesDisplayedColumns: string[] = ['role', 'permissions', 'actions'];
Expand Down
2 changes: 1 addition & 1 deletion apps/36-blocks/src/app/panel/users/user/user.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class UserComponent extends BaseComponent implements OnDestroy, OnInit {
public features: IFeature[] = [];
/** Feature params */
public featureParams: any = {
itemsPerPage: 1000,
itemsPerPage: 100,
pageNo: 1,
};
// public selectedDateRange = {
Expand Down
Loading