This branch fixes an asset duplication bug, so if a user:
selects only preexisting assets with the draw tool and saves, they will be presented with an error message at the top of the page and those assets will not be saved again.
selects a mix of preexisting and new assets, the preexisting ones will be excluded from the fetch command, allowing only the new assets to be saved.
Closes #266
Demo
Testing Instructions
Navigate to a project's phase and edit it's assets
If needed, add a one or two assets
Use the draw tool to select your previously added asset(s) along with some new ones
Confirm that only the new assets get saved, and the old ones are not duplicated
Use the draw tool or the selector on the left to select only your previously added asset(s)
Confirm that nothing gets saved, the warning is displayed, and the page does not automatically reload
Overview
This branch fixes an asset duplication bug, so if a user:
Closes #266
Demo
Testing Instructions