Skip to content

Commit

Permalink
Merge pull request #168 from Rushikesh-Sonawane99/shiksha-2.0
Browse files Browse the repository at this point in the history
Issue #PS-286 chore: Added limit as 0 for bulk attendance
  • Loading branch information
itsvick authored May 27, 2024
2 parents d9f9354 + edcebae commit ccd9d9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/MarkBulkAttendance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const MarkBulkAttendace: React.FC<MarkBulkAttendanceProps> = ({
setLoading(true);
try {
if (classId) {
const limit = 100;
const limit = 0;
const page = 0;
const filters = { cohortId: classId };
const response = await getMyCohortMemberList({
Expand All @@ -119,8 +119,8 @@ const MarkBulkAttendace: React.FC<MarkBulkAttendanceProps> = ({
const formatSelectedDate = shortDateFormat(selectedDate);
const userAttendanceStatusList = async () => {
const attendanceStatusData: AttendanceStatusListProps = {
limit: 200,
page: 1,
limit: 0,
page: 0,
filters: {
fromDate: formatSelectedDate,
toDate: formatSelectedDate,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/attendance-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const AttendanceOverview: React.FC<AttendanceOverviewProps> = () => {
setLoading(true);
try {
if (classId) {
let limit = 100;
let limit = 0;
let page = 0;
let filters = { cohortId: classId };
const response = await getMyCohortMemberList({
Expand Down

0 comments on commit ccd9d9a

Please sign in to comment.