[PR #10028] fix: prevent trashing of trashed assets #12739

Closed
opened 2026-02-05 15:02:33 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/10028

State: closed
Merged: Yes


Motivation

This will improve user experience by hiding a pointless action by changing "move to trash" into "delete permanently" if the asset is already in the trash.

You can not trash a trashed asset again. It won't get any trashier than it already is.

How to test

  1. Visit route /trash
  2. Click on an asset
  3. Press "Delete" on your keyboard
  4. You will see the confirmation dialog to permanently delete the asset
  5. Click on the trash button in the top right
  6. Same as 4)
**Original Pull Request:** https://github.com/immich-app/immich/pull/10028 **State:** closed **Merged:** Yes --- Motivation ---------- This will improve user experience ~by hiding a pointless action~ by changing "move to trash" into "delete permanently" if the asset is already in the trash. ~You can not trash a trashed asset again. It won't get any trashier than it already is.~ How to test ----------- 1. Visit route `/trash` 2. Click on an asset 3. Press "Delete" on your keyboard 4. You will see the confirmation dialog to permanently delete the asset 5. Click on the trash button in the top right 6. Same as 4)
OVERLORD added the pull-request label 2026-02-05 15:02:33 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#12739