girder / girder_web_components

Reusable Javascript and VueJS components for interacting with a Girder server.
https://gwc.girder.org
Apache License 2.0
16 stars 9 forks source link

set result.file to file #264

Closed jordansren closed 4 years ago

jordansren commented 4 years ago

Set request.file to file.file in order for users of the Upload GWC to access files uploaded without needing to download from girder.

zachmullen commented 4 years ago

The idea here is to allow downstreams to easily cache the raw File when an upload is performed, for the common case of wanting to access the file contents immediately after the file is uploaded.