Skip to content

Commit d80ea3e

Browse files
authored
Merge pull request #50 from SyncfusionExamples/1009504-employee-app
1009504: addressed the UI changes in Organization page
2 parents a3cffae + dd5f367 commit d80ea3e

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

Employee_Managment_App/src/components/Employees.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const Employees = (props?: EmployeesProps) => {
8484
grid.filterByColumn('TeamLead', 'equal', props.userInfo.Name);
8585
} else if (sel === 'directReporters' && props?.userInfo?.Team) {
8686
// Show colleagues in the same Team
87-
grid.filterByColumn('Team', 'equal', props.userInfo.Team);
87+
grid.filterByColumn('TeamLead', 'equal', props.userInfo.Name);
8888
} else {
8989
// 'active' or no selection => no filter (loads all)
9090
// clearFiltering already done above

Employee_Managment_App/src/components/Organization.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ const Organization = () => {
6262
<ButtonComponent
6363
cssClass={`e-outline org-pill ${selected === 'directReporters' ? 'org-pill--active e-primary' : ''}`}
6464
onClick={() => handleSelect('directReporters')}
65+
title='Including employees in India and the US'
6566
aria-pressed={selected === 'directReporters'}
6667
>
6768
Direct Reporters

Employee_Managment_App/src/components/Policies.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ const Policies: React.FC = () => {
152152
dataSource={filteredData}
153153
allowPaging={false}
154154
allowSorting
155+
className='policy-Grid'
155156
enableAdaptiveUI={true}
156157
allowResizing
157158
toolbar={['Search']}

Employee_Managment_App/src/index.css

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)