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

changed where we cal the rescanning update text so it is not called w… #2061

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ARADDCC002
Copy link
Member

…hen request fails

@@ -75,7 +75,6 @@ export default function FileDownload({ modelId, file, showAssociatedReleases = f

const handleRerunFileScanOnClick = useCallback(async () => {
const res = await rerunFileScan(modelId, (file as FileInterface)._id)
Copy link
Member

Choose a reason for hiding this comment

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

I think the root of the issue is that this request is currently just fire and forget. To make it more useful to the frontend and other clients, we should update it to return the update scan results. The backend already updates the scan results to be in progress but doesn't then return them

@ARADDCC002 ARADDCC002 added bug Something isn't working enhancement New feature or request javascript Pull requests that update Javascript code ready for review labels Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request javascript Pull requests that update Javascript code ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants