Skip to content

Commit

Permalink
Merge pull request #169 from suvarnakale/shiksha-2.0
Browse files Browse the repository at this point in the history
Issue #PS-390 fix: list api calling and circular progress bar styling c…
  • Loading branch information
itsvick authored May 27, 2024
2 parents ccd9d9a + 69bdc96 commit 3d46974
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/attendance-history.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ const UserAttendanceHistory = () => {
onClose={handleClose}
classId={classId}
selectedDate={selectedDate}
onSaveSuccess={() => setHandleSaveHasRun(true)}
onSaveSuccess={() => setHandleSaveHasRun(!handleSaveHasRun)}
/>
</Box>
</Box>
Expand Down
4 changes: 3 additions & 1 deletion src/pages/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const Dashboard: React.FC<DashboardProps> = () => {
if (classId) {
let limit = 0;
let page = 0;
let filters = { cohortId: classId};
let filters = { cohortId: classId };
const response = await getMyCohortMemberList({
limit,
page,
Expand Down Expand Up @@ -583,6 +583,8 @@ const Dashboard: React.FC<DashboardProps> = () => {
>
<CircularProgressbar
value={currentAttendance?.present_percentage}
background
backgroundPadding={6}
styles={buildStyles({
textColor: pathColor,
pathColor: pathColor,
Expand Down

0 comments on commit 3d46974

Please sign in to comment.