File tree Expand file tree Collapse file tree 4 files changed +4
-12
lines changed
packages/smart-tools/src/opencv/interfaces
src/pages/user-management/users Expand file tree Collapse file tree 4 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 11// Copyright (C) 2022-2025 Intel Corporation
22// LIMITED EDGE SOFTWARE DISTRIBUTION LICENSE
33
4+ import * as OpenCVTypes from 'OpenCVTypes' ;
5+
46/// <reference lib="webworker" />
57/// <reference path="scalars.d.ts" />
68/// <reference path="constants.d.ts" />
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import { RolePicker } from './old-project-users/role-picker.component';
1212import { UsersCount } from './workspace-users/users-count.component' ;
1313
1414interface WorkspaceUsersHeaderProps {
15- totalCount : number ;
1615 totalMatchedCount : number ;
1716 hasFilterOptions : boolean ;
1817 setUsersQueryParams : Dispatch < SetStateAction < UsersQueryParams > > ;
@@ -22,7 +21,6 @@ interface WorkspaceUsersHeaderProps {
2221
2322export const UsersHeader = ( {
2423 totalMatchedCount,
25- totalCount,
2624 hasFilterOptions,
2725 setUsersQueryParams,
2826 usersTableType = RESOURCE_TYPE . ORGANIZATION ,
@@ -96,7 +94,7 @@ export const UsersHeader = ({
9694 { actionsSlot }
9795 < UsersCount
9896 totalMatchedCount = { totalMatchedCount }
99- totalCount = { totalCount }
97+ totalCount = { totalMatchedCount }
10098 hasFilters = { hasFilterOptions }
10199 id = { 'users-header-users-count' }
102100 />
Original file line number Diff line number Diff line change @@ -8,14 +8,7 @@ import { UsersHeader } from './users-header.component';
88
99describe ( 'UsersHeader' , ( ) => {
1010 it ( 'Check all users header elements' , async ( ) => {
11- render (
12- < UsersHeader
13- totalMatchedCount = { 2 }
14- totalCount = { 3 }
15- hasFilterOptions = { false }
16- setUsersQueryParams = { jest . fn ( ) }
17- />
18- ) ;
11+ render ( < UsersHeader totalMatchedCount = { 2 } hasFilterOptions = { false } setUsersQueryParams = { jest . fn ( ) } /> ) ;
1912
2013 expect ( screen . getByTestId ( 'users-header-search-field' ) ) . toBeInTheDocument ( ) ;
2114 expect ( screen . getByTestId ( 'users-header-role-picker' ) ) . toBeInTheDocument ( ) ;
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ export const Users = ({
9595 < Flex direction = { 'column' } >
9696 < UsersHeader
9797 totalMatchedCount = { totalMatchedCount }
98- totalCount = { totalCount }
9998 hasFilterOptions = { hasFilters }
10099 setUsersQueryParams = { setUsersQueryParams }
101100 usersTableType = { usersTableType }
You can’t perform that action at this time.
0 commit comments