Issue:
- In the case of restoring from the 'undo' button, the items still do not have the 'deleted' field set to true, so the notification 'moved to trash' is displayed.
Details:
- I removed the logic of checking if any item has the 'deleted' field set to true because the function used is called 'recoverItemsFromTrash,' which should always display the notification for successful restoration, this was done because I see that it is not necessary to display a notification of 'files moved to trash' when the function is dedicated to restoring from the trash, and this is working well.