Skip to content

Commit

Permalink
change section order
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogollah committed Jan 22, 2025
1 parent 2281815 commit 5650cd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const UserList: React.FC = () => {
.toLowerCase();
const fullName = user.person.display.toLowerCase();
return (
user.username.toLowerCase().includes(debouncedSearchTerm.toLowerCase()) ||
user.systemId.toLowerCase().includes(debouncedSearchTerm.toLowerCase()) ||
user.username?.toLowerCase().includes(debouncedSearchTerm.toLowerCase()) ||
user.systemId?.toLowerCase().includes(debouncedSearchTerm.toLowerCase()) ||
fullName.includes(debouncedSearchTerm.toLowerCase()) ||
rolesDisplay.includes(debouncedSearchTerm.toLowerCase())
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ const ManageUserWorkspace: React.FC<ManageUserWorkspaceProps> = ({
const steps = useMemo(
() => [
{ id: 'demographic', label: t('demographicInformation', 'Demographic Info') },
{ id: 'provider', label: t('providerAccount', 'Provider Account') },
{ id: 'login', label: t('loginInformation', 'Login Info') },
{ id: 'provider', label: t('providerAccount', 'Provider Account') },
{ id: 'roles', label: t('roles', 'Roles Info') },
{ id: 'additionalRoles', label: t('additionalRoles', 'Additional Roles') },
],
Expand Down Expand Up @@ -741,7 +741,6 @@ const ManageUserWorkspace: React.FC<ManageUserWorkspaceProps> = ({
)}
</ResponsiveWrapper>
)}

{activeSection === 'login' && (
<ResponsiveWrapper>
<CardHeader title="Login Info">
Expand Down Expand Up @@ -1073,7 +1072,7 @@ const ManageUserWorkspace: React.FC<ManageUserWorkspaceProps> = ({
</ResponsiveWrapper>
<ResponsiveWrapper>
<Column
key={t('location', 'Location')}
key={t('location', 'Stock Location')}
xsm={8}
md={12}
lg={12}
Expand Down

0 comments on commit 5650cd0

Please sign in to comment.