Images on presentations are not persisted after editing
Summary
Child issue of #739. After an image has been added to a custom slide, going back to the editing page deletes the image. There is no indication of the previously uploaded image on the editing page and the image must be uploaded again.
Steps to reproduce
- Edit a presentation of a lab and add a custom slide with an image.
- Save the result and go back to the edit page.
- Make unrelated changes and save again
- Present the presentation, the image input is now erased.
Current behaviour
An image is not visible on a custom slide after a presentation is edited a second time. Both on the present view and on the edit presentation view
Expected behaviour
The added image is visible and modifiable on the edit presentation page.
Screenshots
Here, the previously added image is not visible and will be removed once changes are saved.
Possible Fix
Modify editLabPresentation
on LabController
to persist the images. Add an indication of previously added images on the edit presentation page.