Skip to content

Archive models

Refs https://redmine.teklia.com/issues/4717
Depends backend#1657 (closed)

A user must be able to archive a model (admin rights are required, but the backend will handle that, simply display errors).

When a user clicks on a model in the list component, he must be able to click on an archive button, that opens up a confirmation modal. Upon confirmation:

  • an API call to update the model with archived=true is sent
  • the model is removed from the list