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

20463 - Fix: Update Safe Email List on Button Click #2847

Merged
merged 1 commit into from
May 31, 2024

Conversation

shaangill025
Copy link
Collaborator

Issue #: bcgov/entity#20463

Description of changes:
Fixes issues with safe email list not displaying after clicking dropdown and re-rendering of the list on addition and removal. Done testing on local env.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
3.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@shaangill025
Copy link
Collaborator Author

/gcbrun

async function getSafeEmails () {
// Call to get the email list from the server
try {
const response = await StaffService.getSafeEmails()
Copy link
Collaborator

@seeker25 seeker25 May 30, 2024

Choose a reason for hiding this comment

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

Future: could move these bits to the service itself (200 response check, maybe throw up an error etc). We handle alot of this in the store, probably should be in the service

@bcregistry-sre
Copy link
Collaborator

Temporary Url for review: https://bcregistry-account-dev--pr-2847-zi9fdvas.web.app

@seeker25 seeker25 merged commit b526dbc into bcgov:main May 31, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants