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

Change handleDeleteFile in app-web #2822

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Conversation

mojotalantikite
Copy link
Contributor

Summary

We ran into an issue where a state submitted, but the contract document that was uploaded was missing from the package. We decided we don't really have a need for doing an actual delete from app-web, so this changes the handleDeleteFile func to not actually delete files, but tag the metadata instead when a delete operation occurs.

Related issues

https://jiraent.cms.gov/browse/MCR-4491

{ key: fullKey },
{ metadata: updatedMetadata }
)
console.info('Successfully updated file metadata')
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting idea, I like it because we still retain something to show that a field may have been removed in the UI.

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.

2 participants