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: update form with storage field should render with existing files #993

Merged
merged 2 commits into from
May 1, 2023

Conversation

bombguy
Copy link
Contributor

@bombguy bombguy commented Apr 28, 2023

Problem

Fixing update form with storage field where existing files are not rendered. StorageManager component does not update with defaultFiles prop update.

Solution

Conditionally render after the record has been fetched.

Verification

Manual tests

Automated tests

  • Snapshot updated to match updated golden file

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@bombguy bombguy marked this pull request as ready for review April 28, 2023 12:50
@bombguy bombguy requested a review from a team as a code owner April 28, 2023 12:50
@bombguy bombguy merged commit ba85dbb into main May 1, 2023
@bombguy bombguy deleted the cshin/storage-field-update-defaultFiles branch May 1, 2023 17:26
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.

4 participants