This website works better with JavaScript.
Home
Explore
Help
Sign In
wayne.lee
/
tsms
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
2
Wiki
Activity
Browse Source
1. timesheet amendment - staff selection - sort by staffId
pull/5/head
cyril.tsui
6 months ago
parent
3311747d4a
commit
534c906782
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/components/TimesheetAmendment/TimesheetAmendment.tsx
+ 1
- 1
src/components/TimesheetAmendment/TimesheetAmendment.tsx
View File
@@ -117,7 +117,7 @@ const TimesheetAmendment: React.FC<Props> = ({
});
},
[],
);
)
.sort((a, b) => a.staffId.localeCompare(b.staffId))
;
}, [localTeamLeaves, localTeamTimesheets]);
const [selectedStaff, setSelectedStaff] = useState<MemberOption>(
Write
Preview
Loading…
Cancel
Save