Issue: If the reset method (element action in Plasmic) is used when initialFilePaths parameter is set, the uploader component gets stuck with the UI in "Loading..." state, neither reverting to the dashboard with initialFilePaths files shown or reverting to a blank dashboard.
Expected behaviour: Dashboard to revert to displaying the initialFilePaths
How to reproduce:
Add a SupabaseUppyUploader component
Add an array of file paths to the initialFilePaths parameter
Add a button and attach a reset action to the onClick interaction
When the page loads, click the button. Loading... ensues.
Note: correct behaviour when new files are added. Reproduced by:
Add a SupabaseUppyUploader component
DON'T add an array of file paths to the initialFilePaths parameter
Add a button and attach a reset action to the onClick interaction
When the page loads, add files from the dashboard.
Click the button. The dashboard is reset to an empty state.
Issue: If the reset method (element action in Plasmic) is used when initialFilePaths parameter is set, the uploader component gets stuck with the UI in "Loading..." state, neither reverting to the dashboard with initialFilePaths files shown or reverting to a blank dashboard.
Expected behaviour: Dashboard to revert to displaying the initialFilePaths
How to reproduce:
Note: correct behaviour when new files are added. Reproduced by: