-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes "Set average weekly working hour" button in user tab is not responsive Fixes #7309 #7480
Changes from 3 commits
21f840d
d679ca1
a04ae42
ce0ccee
b943ab4
8839578
fd5fd8a
3c938d7
13a3ad8
a64bd63
00d4c66
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -410,18 +410,21 @@ | |||||
{["DistrictAdmin", "StateAdmin"].includes( | ||||||
authUser.user_type | ||||||
) && ( | ||||||
<div className="flex-col md:flex-row"> | ||||||
<div className=""> | ||||||
<ButtonV2 | ||||||
id="avg-workinghour" | ||||||
className="flex w-full items-center md:w-full" | ||||||
className="flex w-full" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
onClick={() => { | ||||||
setExpandWorkingHours(true); | ||||||
setSelectedUser(user.username); | ||||||
setWeeklyHours(user.weekly_working_hours); | ||||||
}} | ||||||
> | ||||||
<CareIcon icon="l-clock" className="text-xl" /> | ||||||
<p>Set Average weekly working hours</p> | ||||||
<CareIcon className="care-l-clock text-xl" /> | ||||||
Check failure on line 423 in src/Components/Users/ManageUsers.tsx GitHub Actions / cypress-run (1)
Check failure on line 423 in src/Components/Users/ManageUsers.tsx GitHub Actions / cypress-run (2)
Check failure on line 423 in src/Components/Users/ManageUsers.tsx GitHub Actions / cypress-run (3)
Check failure on line 423 in src/Components/Users/ManageUsers.tsx GitHub Actions / cypress-run (4)
Check failure on line 423 in src/Components/Users/ManageUsers.tsx GitHub Actions / cypress-run (5)
Check failure on line 423 in src/Components/Users/ManageUsers.tsx GitHub Actions / cypress-run (6)
Check failure on line 423 in src/Components/Users/ManageUsers.tsx GitHub Actions / cypress-run (7)
|
||||||
<p className="whitespace-nowrap md:whitespace-normal"> | ||||||
rithviknishad marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
Set Average weekly working hours | ||||||
</p> | ||||||
|
||||||
</ButtonV2> | ||||||
</div> | ||||||
)} | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.