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 @@ -765,13 +765,14 @@ export class UserManagementComponent implements OnInit, AfterViewInit, OnDestroy
this.currentPageIndex = event.pageIndex;
this.currentPageSize = event.pageSize;
const searchTerm = this.searchTerm?.trim() || undefined;
// API expects 1-based page number
this.store.dispatch(
otpActions.getCompanyUsers({
authToken: this.userToken(),
itemsPerPage: event.pageSize,
pageNo: event.pageIndex,
search: searchTerm,
exclude_role_ids: this.exclude_role_ids(),
include_role_ids: this.include_role_ids(),
})
);
}
Expand Down
1 change: 1 addition & 0 deletions libs/constant/src/verification/verification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export type WidgetConfig = {
referenceId?: string;
authToken?: string;
type?: PublicScriptType;
exclude_role_ids?: number[];
showCompanyDetails?: boolean;
isRolePermission?: boolean;
theme?: WidgetTheme;
Expand Down
Loading