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

Fix filter badges for Shifting and Resource #5826

Merged
merged 2 commits into from
Jul 4, 2023
Merged

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Jul 3, 2023

WHAT

🤖 Generated by Copilot at 3ec0732

This pull request updates the code for fetching and displaying facility names for resource and shifting badges to use the correct API response fields. It also adds nullish coalescing to handle undefined phone numbers in the resource list filter. These changes are part of creating a new resource management module.

Proposed Changes

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

HOW

🤖 Generated by Copilot at 3ec0732

  • Changed the second argument of the getAnyFacility action to match the API response fields for the origin, approving, and assigned facility names (link, link, link, link, link, link) in the BadgesList.tsx files for the resource and shifting modules.

@Ashesh3 Ashesh3 requested a review from a team July 3, 2023 09:36
@Ashesh3 Ashesh3 requested a review from a team as a code owner July 3, 2023 09:36
@Ashesh3 Ashesh3 requested a review from mathew-alex July 3, 2023 09:36
@vercel
Copy link

vercel bot commented Jul 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2023 9:37am

@netlify
Copy link

netlify bot commented Jul 3, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 3ec0732
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/64a296a925ed2800082f26ad
😎 Deploy Preview https://deploy-preview-5826--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nihal467
Copy link
Member

nihal467 commented Jul 3, 2023

LGTM

1 similar comment
@nihal467
Copy link
Member

nihal467 commented Jul 3, 2023

LGTM

@khavinshankar khavinshankar merged commit 8ddc9fa into develop Jul 4, 2023
34 checks passed
@khavinshankar khavinshankar deleted the issue-5802 branch July 4, 2023 11:47
@github-actions
Copy link

github-actions bot commented Jul 4, 2023

@Ashesh3 We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Facility name are not present in badges on resource tab
3 participants