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

show delete user button only for stateAdmin #6663

Merged
merged 2 commits into from
Nov 22, 2023
Merged

show delete user button only for stateAdmin #6663

merged 2 commits into from
Nov 22, 2023

Conversation

ayush-seth
Copy link

@ayush-seth ayush-seth commented Nov 17, 2023

WHAT

🤖[deprecated] Generated by Copilot at 8cb815e

Refactored and cleaned up FacilityUsers.tsx component. Removed unused code and improved delete button functionality.

Proposed Changes

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

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

HOW

🤖[deprecated] Generated by Copilot at 8cb815e

  • Remove unused showDelete function and simplify delete button logic for facility users (link, link) in FacilityUsers.tsx

@ayush-seth ayush-seth requested a review from a team November 17, 2023 16:10
@ayush-seth ayush-seth requested a review from a team as a code owner November 17, 2023 16:10
@ayush-seth ayush-seth requested a review from bodhish November 17, 2023 16:10
Copy link

vercel bot commented Nov 17, 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 Nov 21, 2023 8:23pm

Copy link

netlify bot commented Nov 17, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 997e07d
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/655d11835eb7360008577351
😎 Deploy Preview https://deploy-preview-6663--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

LGTM

@khavinshankar khavinshankar merged commit d81b698 into ohcnetwork:develop Nov 22, 2023
34 of 35 checks passed
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.

Hide the Delete User button for users who don't have access to do it
4 participants