-
Notifications
You must be signed in to change notification settings - Fork 437
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
fixed the delete facility button to be hidden and not diabled #6677
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
👋 Hi, @xakep8, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
@nihal467 How may I join the EOD call? |
@xakep8 make the below changes
@xakep8 The EOD call links are shared in the Reminders channel of the OHC Community Slack workspace. (" https://join.slack.com/t/rebuildearth/shared_invite/zt-28b6p14th-OLAHD9oR9oFLYeSCitrXYw ") Discussion on EOD call 05/12/2023 |
Hi, This pr has been automatically marked as stale because it has not had any recent activity. It will be automatically closed if no further activity occurs for 7 more days. Thank you for your contributions. |
Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, This pr has been automatically closed because it has not had any recent activity. Thank you for your contributions. Feel free to repopen the pr. |
WHAT
🤖[deprecated] Generated by Copilot at 5593dc2
Restrict
Delete Facility
option to authorized users. Modifysrc/Components/Facility/FacilityHome.tsx
to check user type before rendering the option.Proposed Changes
authUser.user_type == "DistrictAdmin" || authUser.user_type == "StateAdmin"
for the check of the delete facility buttonDistrict Admin
or aState Admin
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖[deprecated] Generated by Copilot at 5593dc2
Delete Facility
option to users withDistrictAdmin
orStateAdmin
roles (link)