
In the resources (pages) list, the enable/disable status works and is visualized correctly (✖️ and ✔️ icons toggle properly). However, the delete icon (🗑) is static and does not change depending on whether the resource is currently deleted or not.
Steps to reproduce:
- Navigate to the resource list in the admin panel.
- Observe the action buttons for an active (non-deleted) resource.
- Observe the action buttons for a resource that already has a "deleted" status.
Actual behavior:
The same trash icon (🗑) is displayed for both states (deleted and non-deleted resources). Because of this, it is visually unclear what the actual status of the resource is, and there is no obvious UI element to restore it.
Expected behavior:
The icon should toggle depending on the current status of the resource (similar to the enable/disable logic):
For non-deleted resources: display the trash icon (🗑). Clicking it deletes the resource.
For deleted resources: display a restore icon (e.g., ♻️, ↩️, or any standard "Restore" icon). Clicking it restores the resource.