Skip to content

fix delete successs (red trash bin)

Nicolas Briemant requested to merge fix--delete-success into dev

Created by: dimitriredp

Well well well, all that delay just for that ... 2 issues spotted undefined SUCCESS & WARNING in the api call, and an artefacts instead of id in payload of successful delete action creator, careful with copy/paste next time ! ;)

The success code has been changed to 204 even if for now, api keeps sending 201. 201 has been moved to WARNING instead, and because of a non WARNING handling (didn't know if one was needed or not, for now WARNING is handled the same way as SUCCESS.

Note: For a successful test of the feature you will need to use ... Internet Explorer ...

Merge request reports

Loading