-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor user on-call assignments handling and visualization
- Remove 'onCallSteps' field dependencies in user detail and replaced with 'onCallOverview' for better service count accuracy - Refactor 'UserDetails.tsx', removed lodash dependency for cleaner and simpler data extraction - Update 'serviceCount' function to directly read service count from the new 'onCallOverview' field - Refactor 'UserOnCallAssignmentList.tsx' to adapt to the new data model - Update step number representation to start from 0 instead of 1 to match back-end value - Simplify interfaces and functions in 'UserOnCallAssignmentList.tsx' for generating service assignments data
- Loading branch information
1 parent
9b5277f
commit ff2ccc5
Showing
3 changed files
with
32 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters