Skip to content
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

[Feat] Display all data if no range date #2763

Merged
merged 5 commits into from
Jul 19, 2024
Merged

Conversation

Innocent-Akim
Copy link
Contributor

Date Range on Filter 'Daily Plan' by Date Range

@Innocent-Akim Innocent-Akim added this to the v0.2.0 milestone Jul 18, 2024
@Innocent-Akim Innocent-Akim self-assigned this Jul 18, 2024
@Innocent-Akim Innocent-Akim marked this pull request as draft July 18, 2024 19:51

filteredPlans = sortedPlans;
if (currentTab === 'Today Tasks') filteredPlans = todayPlan;

const canSeeActivity = useCanSeeActivityScreen();
const { filteredAllPlanData: filterAllPlanData } = useFilterDateRange(filteredPlans, 'all');
const filterPlans: IDailyPlan[] = currentTab === 'All Tasks' ? filterAllPlanData : filteredPlans;
// const { filteredAllPlanData: filterAllPlanData } = useFilterDateRange(filteredPlans, 'all');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused and commented codes wil be removed in Next PR

@Cedric921 Cedric921 marked this pull request as ready for review July 19, 2024 06:08
@Cedric921 Cedric921 requested a review from evereq July 19, 2024 06:08
@Cedric921 Cedric921 linked an issue Jul 19, 2024 that may be closed by this pull request
@evereq evereq merged commit 8c5f359 into develop Jul 19, 2024
12 checks passed
@evereq evereq deleted the feat/daily-plan-date-range branch July 19, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Improvement] : Date Range on Filter 'Daily Plan' by Date Range
3 participants